about summary refs log tree commit diff
path: root/src/libcore/array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/array.rs')
-rw-r--r--src/libcore/array.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs
index 3d09424f8ba..3d24f8902bd 100644
--- a/src/libcore/array.rs
+++ b/src/libcore/array.rs
@@ -66,7 +66,7 @@ pub struct TryFromSliceError(());
 impl fmt::Display for TryFromSliceError {
     #[inline]
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        fmt::Display::fmt(self.__description())
+        fmt::Display::fmt(self.__description(), f)
     }
 }