Remove or_patterns feature gate in example

This commit is contained in:
Léo Lanteri Thauvin 2021-07-29 14:23:12 +02:00 committed by GitHub
parent b3b2024d1e
commit e9004b063f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,6 @@ declare_clippy_lint! {
/// ```
/// Use instead:
/// ```rust
/// #![feature(or_patterns)]
///
/// fn main() {
/// if let Some(0 | 2) = Some(0) {}
/// }