diff options
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index c38c1b279cc..44541c34ee2 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -39,11 +39,10 @@ macro_rules! array_impls { } } - #[unstable(feature = "core", - reason = "waiting for Show to stabilize")] - impl<T:fmt::Show> fmt::Show for [T; $N] { + #[stable(feature = "rust1", since = "1.0.0")] + impl<T: fmt::Debug> fmt::Debug for [T; $N] { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - fmt::Show::fmt(&&self[], f) + fmt::Debug::fmt(&&self[], f) } } |
