about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-08-06 20:49:52 -0700
committerBrian Anderson <banderson@mozilla.com>2014-08-13 11:30:15 -0700
commit76d46af6d405ac29d2d508705eacdcffad63e4c1 (patch)
tree4240dae68a3a3837d36924bd0ca8014a75daab1f /src/libstd
parent12e851208ddd40ca3e1b56badf5eaa32986f55a8 (diff)
downloadrust-76d46af6d405ac29d2d508705eacdcffad63e4c1.tar.gz
rust-76d46af6d405ac29d2d508705eacdcffad63e4c1.zip
core: Rename ImmutableEqSlice to ImmutablePartialEqSlice
This is in the prelude and won't break much code.

[breaking-change]
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hashmap.rs2
-rw-r--r--src/libstd/os.rs2
-rw-r--r--src/libstd/path/mod.rs2
-rw-r--r--src/libstd/path/posix.rs2
-rw-r--r--src/libstd/prelude.rs2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/collections/hashmap.rs b/src/libstd/collections/hashmap.rs
index 1bb92c487c6..b8f8bd41a2d 100644
--- a/src/libstd/collections/hashmap.rs
+++ b/src/libstd/collections/hashmap.rs
@@ -2743,7 +2743,7 @@ mod test_set {
     use prelude::*;
 
     use super::HashSet;
-    use slice::ImmutableEqSlice;
+    use slice::ImmutablePartialEqSlice;
     use collections::Collection;
 
     #[test]
diff --git a/src/libstd/os.rs b/src/libstd/os.rs
index 6f148eea83c..6a00368f9a2 100644
--- a/src/libstd/os.rs
+++ b/src/libstd/os.rs
@@ -45,7 +45,7 @@ use path::{Path, GenericPath, BytesContainer};
 use ptr::RawPtr;
 use ptr;
 use result::{Err, Ok, Result};
-use slice::{Slice, ImmutableSlice, MutableSlice, ImmutableEqSlice};
+use slice::{Slice, ImmutableSlice, MutableSlice, ImmutablePartialEqSlice};
 use str::{Str, StrSlice, StrAllocating};
 use string::String;
 use sync::atomic::{AtomicInt, INIT_ATOMIC_INT, SeqCst};
diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs
index 16236c01472..d24c2e2266d 100644
--- a/src/libstd/path/mod.rs
+++ b/src/libstd/path/mod.rs
@@ -75,7 +75,7 @@ use str;
 use str::{MaybeOwned, Str, StrSlice};
 use string::String;
 use slice::Slice;
-use slice::{ImmutableEqSlice, ImmutableSlice};
+use slice::{ImmutablePartialEqSlice, ImmutableSlice};
 use vec::Vec;
 
 /// Typedef for POSIX file paths.
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs
index 321ec438c20..0a7817c3e00 100644
--- a/src/libstd/path/posix.rs
+++ b/src/libstd/path/posix.rs
@@ -22,7 +22,7 @@ use option::{Option, None, Some};
 use str::Str;
 use str;
 use slice::{CloneableVector, Splits, Slice, VectorVector,
-            ImmutableEqSlice, ImmutableSlice};
+            ImmutablePartialEqSlice, ImmutableSlice};
 use vec::Vec;
 
 use super::{BytesContainer, GenericPath, GenericPathUnsafe};
diff --git a/src/libstd/prelude.rs b/src/libstd/prelude.rs
index 3d4ab66a94f..eb6dcc1f1a5 100644
--- a/src/libstd/prelude.rs
+++ b/src/libstd/prelude.rs
@@ -85,7 +85,7 @@
 #[doc(no_inline)] pub use slice::{CloneableVector, ImmutableCloneableVector};
 #[doc(no_inline)] pub use slice::{MutableCloneableSlice, MutableOrdSlice};
 #[doc(no_inline)] pub use slice::{ImmutableSlice, MutableSlice};
-#[doc(no_inline)] pub use slice::{ImmutableEqSlice, ImmutableOrdSlice};
+#[doc(no_inline)] pub use slice::{ImmutablePartialEqSlice, ImmutableOrdSlice};
 #[doc(no_inline)] pub use slice::{Slice, VectorVector};
 #[doc(no_inline)] pub use slice::MutableSliceAllocating;
 #[doc(no_inline)] pub use string::String;