syntax: Remove usage of fmt!

This commit is contained in:
Alex Crichton
2013-09-27 21:01:58 -07:00
parent 7e709bfd0d
commit af3b132285
34 changed files with 342 additions and 342 deletions

View File

@@ -101,8 +101,8 @@ pub fn expand_meta_deriving(cx: @ExtCtxt,
"Default" => expand!(default::expand_deriving_default),
ref tname => {
cx.span_err(titem.span, fmt!("unknown \
`deriving` trait: `%s`", *tname));
cx.span_err(titem.span, format!("unknown \
`deriving` trait: `{}`", *tname));
in_items
}
}