We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f49249 commit 5554641Copy full SHA for 5554641
clippy_lints/src/attrs.rs
@@ -137,17 +137,17 @@ declare_clippy_lint! {
137
/// **Example:**
138
/// ```rust
139
/// // Good (as inner attribute)
140
- /// #![inline(always)]
+ /// #![allow(dead_code)]
141
///
142
/// fn this_is_fine() { }
143
144
/// // Bad
145
- /// #[inline(always)]
+ /// #[allow(dead_code)]
146
147
/// fn not_quite_good_code() { }
148
149
/// // Good (as outer attribute)
150
151
/// fn this_is_fine_too() { }
152
/// ```
153
pub EMPTY_LINE_AFTER_OUTER_ATTR,
0 commit comments