Skip to content

Commit c183c3f

Browse files
Clean up E0642 explanation
1 parent 680a4b2 commit c183c3f

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+1
-1
lines changed

src/librustc_error_codes/error_codes/E0642.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Trait methods currently cannot take patterns as arguments.
22

3-
Example of erroneous code:
3+
Erroneous code example:
44

55
```compile_fail,E0642
66
trait Foo {

0 commit comments

Comments
 (0)