Skip to content

Commit 5554641

Browse files
committed
Fix rustup fallout
1 parent 5f49249 commit 5554641

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/attrs.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,17 +137,17 @@ declare_clippy_lint! {
137137
/// **Example:**
138138
/// ```rust
139139
/// // Good (as inner attribute)
140-
/// #![inline(always)]
140+
/// #![allow(dead_code)]
141141
///
142142
/// fn this_is_fine() { }
143143
///
144144
/// // Bad
145-
/// #[inline(always)]
145+
/// #[allow(dead_code)]
146146
///
147147
/// fn not_quite_good_code() { }
148148
///
149149
/// // Good (as outer attribute)
150-
/// #[inline(always)]
150+
/// #[allow(dead_code)]
151151
/// fn this_is_fine_too() { }
152152
/// ```
153153
pub EMPTY_LINE_AFTER_OUTER_ATTR,

0 commit comments

Comments
 (0)