Skip to content

Commit 0c91bd2

Browse files
committed
Make tidy happy
1 parent 2d7b046 commit 0c91bd2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Diff for: src/libsyntax/diagnostic_list.rs

+8-7
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,20 @@ Erroneous code example:
101101
```compile_fail,E0541
102102
#[deprecated(
103103
since="1.0.0",
104-
reason="Example invalid meta item. Should be 'note'") // error: unknown meta item
104+
// error: unknown meta item
105+
reason="Example invalid meta item. Should be 'note'")
105106
]
106107
fn deprecated_function() {}
107108
```
108109
109-
Meta items are the key/value pairs inside of an attribute. The keys provided must be one of the
110-
valid keys for the specified attribute.
110+
Meta items are the key/value pairs inside of an attribute. The keys provided
111+
must be one of the valid keys for the specified attribute.
111112
112-
To fix the problem, either remove the unknown meta item, or rename it if you provided the wrong
113-
name.
113+
To fix the problem, either remove the unknown meta item, or rename it if you
114+
provided the wrong name.
114115
115-
In the erroneous code example above, the wrong name was provided, so changing it to the right name
116-
fixes the error.
116+
In the erroneous code example above, the wrong name was provided, so changing it
117+
to the right name fixes the error.
117118
118119
```
119120
#[deprecated(

0 commit comments

Comments
 (0)