about summary refs log tree commit diff
path: root/src/libcore/fmt/float.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/fmt/float.rs')
-rw-r--r--src/libcore/fmt/float.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/float.rs b/src/libcore/fmt/float.rs
index 6a6a2fe4a6d..bb3c8e71a52 100644
--- a/src/libcore/fmt/float.rs
+++ b/src/libcore/fmt/float.rs
@@ -315,7 +315,7 @@ pub fn float_to_str_bytes_common<T: Float, U>(
                 }
             }
 
-            let mut filler = Filler { buf: buf, end: &mut end };
+            let mut filler = Filler { buf: &mut buf, end: &mut end };
             match sign {
                 SignNeg => {
                     let _ = format_args!(|args| {