about summary refs log tree commit diff
path: root/src/librlibc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-08-06 18:58:43 -0700
committerBrian Anderson <banderson@mozilla.com>2014-08-13 11:30:14 -0700
commit4f5b6927e8e428239082ecc17b85a0506bcc9a65 (patch)
tree321222a7ebea4299f89dbd029e14dbec06d03ec8 /src/librlibc
parentd9177707926d4fbed9dd9e4e7afc9a8c185dafe0 (diff)
std: Rename various slice traits for consistency
ImmutableVector -> ImmutableSlice
ImmutableEqVector -> ImmutableEqSlice
ImmutableOrdVector -> ImmutableOrdSlice
MutableVector -> MutableSlice
MutableVectorAllocating -> MutableSliceAllocating
MutableCloneableVector -> MutableCloneableSlice
MutableOrdVector -> MutableOrdSlice

These are all in the prelude so most code will not break.

[breaking-change]
Diffstat (limited to 'src/librlibc')
-rw-r--r--src/librlibc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librlibc/lib.rs b/src/librlibc/lib.rs
index c7295125f42..706b5c33255 100644
--- a/src/librlibc/lib.rs
+++ b/src/librlibc/lib.rs
@@ -112,7 +112,7 @@ mod test {
     use core::iter::Iterator;
     use core::collections::Collection;
     use core::str::StrSlice;
-    use core::slice::{MutableVector, ImmutableVector};
+    use core::slice::{MutableSlice, ImmutableSlice};
 
     use super::{memcmp, memset, memcpy, memmove};