From eef7e970172df38358cf25c386a4ec79a7b61b0b Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 24 Oct 2014 14:33:41 -0500 Subject: DSTify Show and all the other formatting traits --- src/liballoc/boxed.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/liballoc') diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 09404af7027..de98bc63183 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -16,6 +16,7 @@ use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering}; use core::default::Default; use core::fmt; use core::intrinsics; +use core::kinds::Sized; use core::mem; use core::option::Option; use core::raw::TraitObject; @@ -120,7 +121,7 @@ impl BoxAny for Box { } } -impl fmt::Show for Box { +impl fmt::Show for Box { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { (**self).fmt(f) } -- cgit 1.4.1-3-g733a5