diff options
Diffstat (limited to 'src/test/run-pass/nested-matchs.rs')
| -rw-r--r-- | src/test/run-pass/nested-matchs.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/run-pass/nested-matchs.rs b/src/test/run-pass/nested-matchs.rs index e95ee4c99c5..fa28025afa0 100644 --- a/src/test/run-pass/nested-matchs.rs +++ b/src/test/run-pass/nested-matchs.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -extern crate debug; - fn baz() -> ! { fail!(); } fn foo() { @@ -17,7 +15,7 @@ fn foo() { Some::<int>(_x) => { let mut bar; match None::<int> { None::<int> => { bar = 5i; } _ => { baz(); } } - println!("{:?}", bar); + println!("{}", bar); } None::<int> => { println!("hello"); } } |
