about summary refs log tree commit diff
path: root/src/libstd/ascii.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-08-06 20:03:55 -0700
committerBrian Anderson <banderson@mozilla.com>2014-08-13 11:30:14 -0700
commitfbc93082ec92c3534c4b27fef35d78d97bd77fd2 (patch)
treed5154fe0a4a461ce65f1dff659ac9117fb310e8d /src/libstd/ascii.rs
parent4f5b6927e8e428239082ecc17b85a0506bcc9a65 (diff)
downloadrust-fbc93082ec92c3534c4b27fef35d78d97bd77fd2.tar.gz
rust-fbc93082ec92c3534c4b27fef35d78d97bd77fd2.zip
std: Rename slice::Vector to Slice
This required some contortions because importing both raw::Slice
and slice::Slice makes rustc crash.

Since `Slice` is in the prelude, this renaming is unlikely to
casue breakage.

[breaking-change]
Diffstat (limited to 'src/libstd/ascii.rs')
-rw-r--r--src/libstd/ascii.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs
index 6e442a018a0..e5f42bd65a3 100644
--- a/src/libstd/ascii.rs
+++ b/src/libstd/ascii.rs
@@ -19,7 +19,7 @@ use fmt;
 use iter::Iterator;
 use mem;
 use option::{Option, Some, None};
-use slice::{ImmutableSlice, MutableSlice, Vector};
+use slice::{ImmutableSlice, MutableSlice, Slice};
 use str::{Str, StrSlice};
 use str;
 use string::String;