about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHavvy <ryan.havvy@gmail.com>2018-06-11 03:51:04 -0700
committerHavvy <ryan.havvy@gmail.com>2018-06-11 03:51:04 -0700
commitcf3fcab9732f080222b21bce8399c97e97f2e3e9 (patch)
tree429d1dbc60433e6114754fa590cd6f97f2309cc7 /src
parent0c91bd200e2ef544263023ce7d3b4ad211338808 (diff)
downloadrust-cf3fcab9732f080222b21bce8399c97e97f2e3e9.tar.gz
rust-cf3fcab9732f080222b21bce8399c97e97f2e3e9.zip
More E0541 long diagnostic wording tweaks
Diffstat (limited to 'src')
-rw-r--r--src/libsyntax/diagnostic_list.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs
index 31b2f4fc427..9775a6475cc 100644
--- a/src/libsyntax/diagnostic_list.rs
+++ b/src/libsyntax/diagnostic_list.rs
@@ -107,14 +107,14 @@ Erroneous code example:
 fn deprecated_function() {}
 ```
 
-Meta items are the key/value pairs inside of an attribute. The keys provided
+Meta items are the key-value pairs inside of an attribute. The keys provided
 must be one of the valid keys for the specified attribute.
 
 To fix the problem, either remove the unknown meta item, or rename it if you
 provided the wrong name.
 
-In the erroneous code example above, the wrong name was provided, so changing it
-to the right name fixes the error.
+In the erroneous code example above, the wrong name was provided, so changing
+to a correct one it will fix the error. Example:
 
 ```
 #[deprecated(