Skip to content

Commit d01f131

Browse files
Improve E0601 explanation
1 parent 97f3eee commit d01f131

File tree

1 file changed

+3
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-2
lines changed

src/librustc_error_codes/error_codes/E0601.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
No `main` function was found in a binary crate. To fix this error, add a
2-
`main` function. For example:
1+
No `main` function was found in a binary crate.
2+
3+
To fix this error, add a `main` function:
34

45
```
56
fn main() {

0 commit comments

Comments
 (0)