summary refs log tree commit diff
path: root/src/libstd/rt/unwind.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-17 15:55:55 +0000
committerbors <bors@rust-lang.org>2015-02-17 15:55:55 +0000
commitf9aeea7cb7865a2b82e7102837daabbe549177ea (patch)
tree3f624ffaf751ef16c4630d068944dcf859d6a1d8 /src/libstd/rt/unwind.rs
parentf1bb6c2f46f08c1d7b6d695f5b3cf93142cb8860 (diff)
parentbc9084b9b7f21140ffbc051ecb2a0cd08e88f3bb (diff)
Auto merge of #22311 - lfairy:consistent-fmt, r=alexcrichton
This brings it in line with its namesake in `std::io`.

[breaking-change]

r? @aturon
Diffstat (limited to 'src/libstd/rt/unwind.rs')
-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 b45878584e0..c9bbea27e4a 100644
--- a/src/libstd/rt/unwind.rs
+++ b/src/libstd/rt/unwind.rs
@@ -495,7 +495,7 @@ pub extern fn rust_begin_unwind(msg: fmt::Arguments,
 #[inline(never)] #[cold]
 #[stable(since = "1.0.0", feature = "rust1")]
 pub fn begin_unwind_fmt(msg: fmt::Arguments, file_line: &(&'static str, uint)) -> ! {
-    use fmt::Writer;
+    use fmt::Write;
 
     // We do two allocations here, unfortunately. But (a) they're
     // required with the current scheme, and (b) we don't handle