Skip to content

Commit 2439824

Browse files
author
Nick Hamann
committed
Clarify E0117 explanation.
1 parent 5559d2b commit 2439824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_typeck/diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,8 +1259,8 @@ Here's one example of this error:
12591259
impl Drop for u32 {}
12601260
```
12611261
1262-
To avoid this error, ensure that at least one local type is referenced by
1263-
the `impl`:
1262+
To avoid this kind of error, ensure that at least one local type is referenced
1263+
by the `impl`:
12641264
12651265
```
12661266
pub struct Foo; // you define your type in your crate

0 commit comments

Comments
 (0)