From 42aed6bde2fb05a262e21334656cdf91f51744dd Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 27 May 2014 20:44:58 -0700 Subject: std: Remove format_strbuf!() This was only ever a transitionary macro. --- src/libstd/rt/unwind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/unwind.rs b/src/libstd/rt/unwind.rs index be05bfceaac..f34dcaaa427 100644 --- a/src/libstd/rt/unwind.rs +++ b/src/libstd/rt/unwind.rs @@ -354,7 +354,7 @@ pub fn begin_unwind_fmt(msg: &fmt::Arguments, file: &'static str, // required with the current scheme, and (b) we don't handle // failure + OOM properly anyway (see comment in begin_unwind // below). - begin_unwind_inner(box fmt::format_strbuf(msg), file, line) + begin_unwind_inner(box fmt::format(msg), file, line) } /// This is the entry point of unwinding for fail!() and assert!(). -- cgit 1.4.1-3-g733a5