Fix usage of the old debug! macros

This commit is contained in:
Alex Crichton 2013-10-01 10:01:14 -07:00
parent 320af9b157
commit 62855e2c08
1 changed files with 1 additions and 1 deletions

View File

@ -821,7 +821,7 @@ pub fn std_macros() -> @str {
if lvl <= __log_level() {
format_args!(|args| {
::std::logging::log(lvl, args)
}, \"{}\", fmt!(\"{:?}\", $arg))
}, \"{}\", fmt!(\"%?\", $arg))
}
});
($lvl:expr, $($arg:expr),+) => ({