Skip to content

Commit 24a2537

Browse files
committed
auto merge of #9659 : alexcrichton/rust/fix-fmt, r=huonw
I was a little too trigger-happy in migrating from `format!` to `fmt!`...
2 parents 320af9b + 62855e2 commit 24a2537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ pub fn std_macros() -> @str {
821821
if lvl <= __log_level() {
822822
format_args!(|args| {
823823
::std::logging::log(lvl, args)
824-
}, \"{}\", fmt!(\"{:?}\", $arg))
824+
}, \"{}\", fmt!(\"%?\", $arg))
825825
}
826826
});
827827
($lvl:expr, $($arg:expr),+) => ({

0 commit comments

Comments
 (0)