about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-06-24 13:19:06 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-06-24 13:19:06 +0200
commit65becefd4ac378c9c6aa0e7becb7eaa1fc12b84f (patch)
treeff9402aa4333c2595788eacf5a5290d109de5315 /src/librustc_error_codes/error_codes
parent228a0ed7b0cef2fbfeb781acf6c23015ccc40ba2 (diff)
downloadrust-65becefd4ac378c9c6aa0e7becb7eaa1fc12b84f.tar.gz
rust-65becefd4ac378c9c6aa0e7becb7eaa1fc12b84f.zip
Clean up E0701 explanation
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0701.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0701.md b/src/librustc_error_codes/error_codes/E0701.md
index 87f416ada18..4965e643105 100644
--- a/src/librustc_error_codes/error_codes/E0701.md
+++ b/src/librustc_error_codes/error_codes/E0701.md
@@ -1,7 +1,7 @@
 This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed
 on something other than a struct or enum.
 
-Examples of erroneous code:
+Erroneous code example:
 
 ```compile_fail,E0701
 #[non_exhaustive]