From 1f52cf439bec551cd88010fa6d9bcdf681a8b3af Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 30 Sep 2013 10:46:00 -0700 Subject: [PATCH] pretty: Remove usage of fmt! --- src/test/pretty/block-comment-wchar.pp | 2 +- src/test/pretty/block-comment-wchar.rs | 2 +- src/test/pretty/issue-929.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/pretty/block-comment-wchar.pp b/src/test/pretty/block-comment-wchar.pp index 805aca129e9..d727f45e316 100644 --- a/src/test/pretty/block-comment-wchar.pp +++ b/src/test/pretty/block-comment-wchar.pp @@ -110,6 +110,6 @@ fn main() { '\u2028', '\u2029', '\u202F', '\u205F', '\u3000']; for c in chars.iter() { let ws = c.is_whitespace(); - println(fmt!("%? %?" , c , ws)); + println!("{:?} {:?}" , c , ws); } } diff --git a/src/test/pretty/block-comment-wchar.rs b/src/test/pretty/block-comment-wchar.rs index f09a7c1428c..abe4546d69f 100644 --- a/src/test/pretty/block-comment-wchar.rs +++ b/src/test/pretty/block-comment-wchar.rs @@ -104,6 +104,6 @@ fn main() { '\u2028', '\u2029', '\u202F', '\u205F', '\u3000']; for c in chars.iter() { let ws = c.is_whitespace(); - println(fmt!("%? %?", c , ws)); + println!("{:?} {:?}", c , ws); } } diff --git a/src/test/pretty/issue-929.rs b/src/test/pretty/issue-929.rs index 636fac82b6b..a82a8ec41c7 100644 --- a/src/test/pretty/issue-929.rs +++ b/src/test/pretty/issue-929.rs @@ -8,6 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -fn f() { if (1 == fail!()) { } else { } } +fn f() { if (1 == fail2!()) { } else { } } fn main() { }