about summary refs log tree commit diff
path: root/src/libunicode/normalize.rs
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/libunicode/normalize.rs
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/libunicode/normalize.rs')
-rw-r--r--src/libunicode/normalize.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunicode/normalize.rs b/src/libunicode/normalize.rs
index ec31181e8a7..c5e1773dcff 100644
--- a/src/libunicode/normalize.rs
+++ b/src/libunicode/normalize.rs
@@ -15,7 +15,7 @@
 
 use core::cmp::{Equal, Less, Greater};
 use core::option::{Option, Some, None};
-use core::slice::ImmutableVector;
+use core::slice::ImmutableSlice;
 use tables::normalization::{canonical_table, compatibility_table, composition_table};
 
 fn bsearch_table<T>(c: char, r: &'static [(char, &'static [T])]) -> Option<&'static [T]> {