Add note to remove if statement altogether
This commit is contained in:
parent
e9ced12512
commit
3376c714ee
1 changed files with 2 additions and 0 deletions
|
|
@ -340,6 +340,8 @@ declare_clippy_lint! {
|
|||
/// // NOTE: Type is a `Vec` here
|
||||
/// println!("all elements: {all:#?}");
|
||||
/// }
|
||||
/// // or
|
||||
/// println!("all elements: {v:#?}");
|
||||
/// ```
|
||||
#[clippy::version = "1.72.0"]
|
||||
pub REDUNDANT_AT_REST_PATTERN,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue