diff options
Diffstat (limited to 'src/test/run-pass/struct-pattern-matching.rs')
| -rw-r--r-- | src/test/run-pass/struct-pattern-matching.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/struct-pattern-matching.rs b/src/test/run-pass/struct-pattern-matching.rs index 68fa1373975..3d8c2b7f56a 100644 --- a/src/test/run-pass/struct-pattern-matching.rs +++ b/src/test/run-pass/struct-pattern-matching.rs @@ -16,6 +16,6 @@ struct Foo { pub fn main() { let a = Foo { x: 1, y: 2 }; match a { - Foo { x: x, y: y } => println(fmt!("yes, %d, %d", x, y)) + Foo { x: x, y: y } => printfln!("yes, %d, %d", x, y) } } |
