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 1f3676f commit 2f0a99aCopy full SHA for 2f0a99a
clippy_lints/src/ranges.rs
@@ -52,7 +52,7 @@ declare_clippy_lint! {
52
/// **Known problems:** Will add unnecessary pair of parentheses when the
53
/// expression is not wrapped in a pair but starts with a opening parenthesis
54
/// and ends with a closing one.
55
-/// I.e: `let _ = (f()+1)..(f()+1)` results in `let _ = ((f()+1)..(f()+1))`.
+/// I.e: `let _ = (f()+1)..(f()+1)` results in `let _ = ((f()+1)..=f())`.
56
///
57
/// **Example:**
58
/// ```rust
0 commit comments