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]
This commit is contained in:
Brian Anderson
2014-08-06 20:03:55 -07:00
parent 4f5b6927e8
commit fbc93082ec
20 changed files with 50 additions and 44 deletions

View File

@@ -29,7 +29,7 @@ use option::*;
use os;
use path::{Path,GenericPath};
use result::*;
use slice::{Vector,ImmutableSlice};
use slice::{Slice,ImmutableSlice};
use str;
use string::String;
use vec::Vec;