Skip to content

Commit

Permalink
Fix: typo in E0751 error explanation
Browse files Browse the repository at this point in the history
Corrected a grammatical error in the explanation for E0751. Changed "exists" to "exist" to improve clarity and ensure proper grammar in the error message.
  • Loading branch information
LuanOldCode authored Dec 7, 2024
1 parent 8dc8377 commit 120d6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0751.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ impl !MyTrait for i32 { } // error!
```

Negative implementations are a promise that the trait will never be implemented
for the given types. Therefore, both cannot exists at the same time.
for the given types. Therefore, both cannot exist at the same time.

0 comments on commit 120d6b2

Please sign in to comment.