Skip to content

Commit

Permalink
Rollup merge of #73436 - GuillaumeGomez:cleanup-e0670, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Clean up E0670 explanation

r? @Dylan-DPC
  • Loading branch information
Manishearth authored Jun 20, 2020
2 parents 2dbb8b6 + bde1ccf commit 2377a50
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 2377a50

Please sign in to comment.