mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
Remove or_patterns
feature gate in example
This commit is contained in:
parent
b3b2024d1e
commit
e9004b063f
@ -35,8 +35,6 @@ declare_clippy_lint! {
|
||||
/// ```
|
||||
/// Use instead:
|
||||
/// ```rust
|
||||
/// #![feature(or_patterns)]
|
||||
///
|
||||
/// fn main() {
|
||||
/// if let Some(0 | 2) = Some(0) {}
|
||||
/// }
|
||||
|
Loading…
Reference in New Issue
Block a user