about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-25 18:00:25 -0700
committerGitHub <noreply@github.com>2020-06-25 18:00:25 -0700
commit8c5d794b52db22fdc1a4ba678a5876a98f9d9531 (patch)
tree9c2c9f06fca6abb8208a8fbe5465458752f3740a /src
parent7fb7765cdab6bd9d0dddd5275dd73775938af299 (diff)
parent65becefd4ac378c9c6aa0e7becb7eaa1fc12b84f (diff)
downloadrust-8c5d794b52db22fdc1a4ba678a5876a98f9d9531.tar.gz
rust-8c5d794b52db22fdc1a4ba678a5876a98f9d9531.zip
Rollup merge of #73687 - GuillaumeGomez:cleanup-e0701, r=Dylan-DPC
Clean up E0701 explanation

r? @Dylan-DPC
Diffstat (limited to 'src')
-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]