fixed known problems expression
This commit is contained in:
parent
1f3676f7d0
commit
2f0a99a3a4
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ declare_clippy_lint! {
|
||||||
/// **Known problems:** Will add unnecessary pair of parentheses when the
|
/// **Known problems:** Will add unnecessary pair of parentheses when the
|
||||||
/// expression is not wrapped in a pair but starts with a opening parenthesis
|
/// expression is not wrapped in a pair but starts with a opening parenthesis
|
||||||
/// and ends with a closing one.
|
/// and ends with a closing one.
|
||||||
/// 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())`.
|
||||||
///
|
///
|
||||||
/// **Example:**
|
/// **Example:**
|
||||||
/// ```rust
|
/// ```rust
|
||||||
|
|
Loading…
Add table
Reference in a new issue