Skip to content

Commit 3d5ef11

Browse files
committed
Improve wording
1 parent e252aae commit 3d5ef11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/error_codes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3812,7 +3812,7 @@ impl Foo {
38123812
```
38133813
38143814
A similar error is E0201. The difference is whether there is one declaration
3815-
block or not. To avoid this error, you have to give them one name each.
3815+
block or not. To avoid this error, you must give each `fn` a unique name.
38163816
38173817
```
38183818
struct Foo;

0 commit comments

Comments
 (0)