diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-08-06 20:03:55 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-08-13 11:30:14 -0700 |
| commit | fbc93082ec92c3534c4b27fef35d78d97bd77fd2 (patch) | |
| tree | d5154fe0a4a461ce65f1dff659ac9117fb310e8d /src/libcore/prelude.rs | |
| parent | 4f5b6927e8e428239082ecc17b85a0506bcc9a65 (diff) | |
| download | rust-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/libcore/prelude.rs')
| -rw-r--r-- | src/libcore/prelude.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/prelude.rs b/src/libcore/prelude.rs index 08a431b0d1f..2d5c9c0e960 100644 --- a/src/libcore/prelude.rs +++ b/src/libcore/prelude.rs @@ -63,4 +63,4 @@ pub use tuple::{Tuple5, Tuple6, Tuple7, Tuple8}; pub use tuple::{Tuple9, Tuple10, Tuple11, Tuple12}; pub use slice::{ImmutableEqSlice, ImmutableOrdSlice}; pub use slice::{MutableSlice}; -pub use slice::{Vector, ImmutableSlice}; +pub use slice::{Slice, ImmutableSlice}; |
