Skip to content

Commit cf3fcab

Browse files
committed
More E0541 long diagnostic wording tweaks
1 parent 0c91bd2 commit cf3fcab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/libsyntax/diagnostic_list.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ Erroneous code example:
107107
fn deprecated_function() {}
108108
```
109109
110-
Meta items are the key/value pairs inside of an attribute. The keys provided
110+
Meta items are the key-value pairs inside of an attribute. The keys provided
111111
must be one of the valid keys for the specified attribute.
112112
113113
To fix the problem, either remove the unknown meta item, or rename it if you
114114
provided the wrong name.
115115
116-
In the erroneous code example above, the wrong name was provided, so changing it
117-
to the right name fixes the error.
116+
In the erroneous code example above, the wrong name was provided, so changing
117+
to a correct one it will fix the error. Example:
118118
119119
```
120120
#[deprecated(

0 commit comments

Comments
 (0)