File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,12 @@ Erroneous code example:
104
104
reason="Example invalid meta item. Should be 'note'") // error: unknown meta item
105
105
]
106
106
fn deprecated_function() {}
107
+ ```
107
108
108
109
Meta items are the key/value pairs inside of an attribute. The keys provided must be one of the
109
110
valid keys for the specified attribute.
110
111
111
- To fix the problem, either remove the unknown meta item, or rename it it you provided the wrong
112
+ To fix the problem, either remove the unknown meta item, or rename it if you provided the wrong
112
113
name.
113
114
114
115
In the erroneous code example above, the wrong name was provided, so changing it to the right name
@@ -120,6 +121,7 @@ fixes the error.
120
121
note="This is a valid meta item for the deprecated attribute."
121
122
)]
122
123
fn deprecated_function() {}
124
+ ```
123
125
"## ,
124
126
125
127
E0552 : r##"
You can’t perform that action at this time.
0 commit comments