Skip to content

Commit

Permalink
Clean up E0670 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 17, 2020
1 parent 5949391 commit bde1ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_error_codes/error_codes/E0670.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Rust 2015 does not permit the use of `async fn`.

Example of erroneous code:
Erroneous code example:

```compile_fail,E0670
async fn foo() {}
Expand Down

0 comments on commit bde1ccf

Please sign in to comment.