Remove questionable pattern

This commit is contained in:
bombless 2015-02-20 03:36:40 +08:00
parent 0643494bc4
commit b13e072c9e

View file

@ -8,18 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
struct Foo<T>(T, T);
impl<T> Foo<T> {
fn foo(&self) {
match *self {
Foo::<T>(ref x, ref y) => {
println!("Goodbye, World!")
}
}
}
}
fn main() {
match 42 {
x if x < 7 => (),