mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Add note to remove if
statement altogether
This commit is contained in:
parent
e9ced12512
commit
3376c714ee
@ -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…
Reference in New Issue
Block a user