about summary refs log tree commit diff
path: root/src/libcore/array.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-25 20:45:32 -0700
committerGitHub <noreply@github.com>2016-08-25 20:45:32 -0700
commiteaf71f8d1034f16140791f566cab3f3c9a0bf96a (patch)
treed7bdca8083a5457af6f42e4e93693fcd272c0ac8 /src/libcore/array.rs
parente07dd59eaeb7be95afd2fb3dc131108ae750c91c (diff)
parenta9a2979dbaddc540673cf66da52e8eb45e66b055 (diff)
downloadrust-eaf71f8d1034f16140791f566cab3f3c9a0bf96a.tar.gz
rust-eaf71f8d1034f16140791f566cab3f3c9a0bf96a.zip
Auto merge of #35906 - jseyfried:local_prelude, r=eddyb
Use `#[prelude_import]` in `libcore` and `libstd`

r? @eddyb
Diffstat (limited to 'src/libcore/array.rs')
-rw-r--r--src/libcore/array.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs
index 45fc5ff8009..9866a39619a 100644
--- a/src/libcore/array.rs
+++ b/src/libcore/array.rs
@@ -20,16 +20,11 @@
             issue = "27778")]
 
 use borrow::{Borrow, BorrowMut};
-use clone::Clone;
-use cmp::{PartialEq, Eq, PartialOrd, Ord, Ordering};
-use convert::{AsRef, AsMut};
-use default::Default;
+use cmp::Ordering;
 use fmt;
 use hash::{Hash, self};
-use iter::IntoIterator;
-use marker::{Copy, Sized, Unsize};
-use option::Option;
-use slice::{Iter, IterMut, SliceExt};
+use marker::Unsize;
+use slice::{Iter, IterMut};
 
 /// Utility trait implemented only on arrays of fixed size
 ///