about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-19 19:43:01 -0700
committerGitHub <noreply@github.com>2020-06-19 19:43:01 -0700
commit2377a50f42aa0b0bd73115ab2940ffaca61a41b4 (patch)
tree2ae53a7cdb2abc1a7dd24faf12efefc8e75a7656
parent2dbb8b6ac6ec241f73714162590b694c5f9ddc9a (diff)
parentbde1ccfcb22484d371eb94d29a74373b538e49ab (diff)
downloadrust-2377a50f42aa0b0bd73115ab2940ffaca61a41b4.tar.gz
rust-2377a50f42aa0b0bd73115ab2940ffaca61a41b4.zip
Rollup merge of #73436 - GuillaumeGomez:cleanup-e0670, r=Dylan-DPC
Clean up E0670 explanation

r? @Dylan-DPC
-rw-r--r--src/librustc_error_codes/error_codes/E0670.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0670.md b/src/librustc_error_codes/error_codes/E0670.md
index 2026370bec3..74c1af06cf4 100644
--- a/src/librustc_error_codes/error_codes/E0670.md
+++ b/src/librustc_error_codes/error_codes/E0670.md
@@ -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() {}