Add note to remove if statement altogether

This commit is contained in:
Catherine 2023-06-27 20:10:25 -05:00
parent e9ced12512
commit 3376c714ee

View File

@ -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,