about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-29 03:31:39 -0700
committerbors <bors@rust-lang.org>2014-05-29 03:31:39 -0700
commitff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768 (patch)
tree4912545d81ef12954c9204cf7c9a98b5ae16911e /src/libstd/rt
parentd35a38087088301aa58f244ae99d48b282df6fb2 (diff)
parent42aed6bde2fb05a262e21334656cdf91f51744dd (diff)
downloadrust-ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768.tar.gz
rust-ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768.zip
auto merge of #14481 : alexcrichton/rust/no-format-strbuf, r=sfackler
* Removes `format_strbuf!()`
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/unwind.rs2
1 files changed, 1 insertions, 1 deletions
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!().