// option. This file may not be copied, modified, or distributed
// except according to those terms.
-
-
-
#![allow(unused)]
#![warn(clippy::all)]
let v = Some(true);
match v {
Some(x) => (),
- y @ _ => (),
+ y @ _ => (),
}
match v {
- Some(x) => (),
- y @ None => (), // no error
+ Some(x) => (),
+ y @ None => (), // no error
}
}