diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 15:52:01 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 17:33:20 +0530 |
| commit | bf52f2eef578e6fff83611a6276a3aa9f284e1c5 (patch) | |
| tree | b8dbe9baff53cc9def4e2a78fdd9d8b96a585a30 /src/libcore/fmt/float.rs | |
| parent | 4647d89205992383f8122e8fde0e2615497572bc (diff) | |
| parent | bc9084b9b7f21140ffbc051ecb2a0cd08e88f3bb (diff) | |
| download | rust-bf52f2eef578e6fff83611a6276a3aa9f284e1c5.tar.gz rust-bf52f2eef578e6fff83611a6276a3aa9f284e1c5.zip | |
Rollup 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/libcore/fmt/float.rs')
| -rw-r--r-- | src/libcore/fmt/float.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/float.rs b/src/libcore/fmt/float.rs index 8e09e52daee..7f7264a0468 100644 --- a/src/libcore/fmt/float.rs +++ b/src/libcore/fmt/float.rs @@ -314,7 +314,7 @@ pub fn float_to_str_bytes_common<T: Float, U, F>( end: &'a mut uint, } - impl<'a> fmt::Writer for Filler<'a> { + impl<'a> fmt::Write for Filler<'a> { fn write_str(&mut self, s: &str) -> fmt::Result { slice::bytes::copy_memory(&mut self.buf[(*self.end)..], s.as_bytes()); |
