/// }
/// ```
///
- /// Could be written:
- ///
+ /// Use instead:
/// ```rust,ignore
/// use std::cmp::Ordering;
/// # fn a() {}
/// }
/// }
/// ```
+ #[clippy::version = "1.40.0"]
pub COMPARISON_CHAIN,
style,
"`if`s that can be rewritten with `match` and `cmp`"