diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-30 10:46:00 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-30 23:21:20 -0700 |
| commit | 1f52cf439bec551cd88010fa6d9bcdf681a8b3af (patch) | |
| tree | 96bf2f0b4818ddf9da65515cea6322d778afb723 /src | |
| parent | 9ce31f6dd9ea52c857131fb4a10465e0f5756c67 (diff) | |
| download | rust-1f52cf439bec551cd88010fa6d9bcdf681a8b3af.tar.gz rust-1f52cf439bec551cd88010fa6d9bcdf681a8b3af.zip | |
pretty: Remove usage of fmt!
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/pretty/block-comment-wchar.pp | 2 | ||||
| -rw-r--r-- | src/test/pretty/block-comment-wchar.rs | 2 | ||||
| -rw-r--r-- | 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() { } |
