Skip to content

Commit 1f52cf4

Browse files
committed
pretty: Remove usage of fmt!
1 parent 9ce31f6 commit 1f52cf4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/pretty/block-comment-wchar.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@
110110
'\u2028', '\u2029', '\u202F', '\u205F', '\u3000'];
111111
for c in chars.iter() {
112112
let ws = c.is_whitespace();
113-
println(fmt!("%? %?" , c , ws));
113+
println!("{:?} {:?}" , c , ws);
114114
}
115115
}

src/test/pretty/block-comment-wchar.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ fn main() {
104104
'\u2028', '\u2029', '\u202F', '\u205F', '\u3000'];
105105
for c in chars.iter() {
106106
let ws = c.is_whitespace();
107-
println(fmt!("%? %?", c , ws));
107+
println!("{:?} {:?}", c , ws);
108108
}
109109
}

src/test/pretty/issue-929.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
fn f() { if (1 == fail!()) { } else { } }
11+
fn f() { if (1 == fail2!()) { } else { } }
1212

1313
fn main() { }

0 commit comments

Comments
 (0)