std: Remove format_strbuf!()

This was only ever a transitionary macro.
This commit is contained in:
Alex Crichton 2014-05-27 20:44:58 -07:00
parent 24b1ce1daf
commit 42aed6bde2
104 changed files with 754 additions and 931 deletions

View file

@ -895,8 +895,8 @@ pub fn expand_preparsed_format_args(ecx: &mut ExtCtxt, sp: Span,
match parser.errors.shift() {
Some(error) => {
cx.ecx.span_err(efmt.span,
format_strbuf!("invalid format string: {}",
error).as_slice());
format!("invalid format string: {}",
error).as_slice());
return DummyResult::raw_expr(sp);
}
None => {}