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 61a252f commit 5fee840Copy full SHA for 5fee840
clippy_lints/src/attrs/mod.rs
@@ -310,8 +310,8 @@ declare_clippy_lint! {
310
/// ```rust,ignore
311
/// #[allow(unused_mut)]
312
/// fn foo() -> usize {
313
- /// let mut a = Vec::new();
314
- /// a.len()
+ /// let mut a = Vec::new();
+ /// a.len()
315
/// }
316
/// ```
317
/// Use instead:
clippy_lints/src/operators/mod.rs
@@ -80,7 +80,7 @@ declare_clippy_lint! {
80
/// ```no_run
81
/// // `n` can be any number, including `i32::MAX`.
82
/// fn foo(n: i32) -> i32 {
83
- /// n + 1
+ /// n + 1
84
85
86
///
0 commit comments