Skip to content

Commit bde1ccf

Browse files
Clean up E0670 explanation
1 parent 5949391 commit bde1ccf

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/E0670.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Rust 2015 does not permit the use of `async fn`.
22

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

55
```compile_fail,E0670
66
async fn foo() {}

0 commit comments

Comments
 (0)