]> git.lizzy.rs Git - rust.git/commitdiff
Add slice::MutableCloneableVector to the prelude
authorKevin Ballard <kevin@sb.org>
Tue, 20 May 2014 19:12:44 +0000 (12:12 -0700)
committerKevin Ballard <kevin@sb.org>
Tue, 20 May 2014 19:12:44 +0000 (12:12 -0700)
Every other trait in slice is in the prelude, so it makes sense to
provide MutableCloneableVector as well.

src/libstd/prelude.rs

index e39d8d34447a465e4eb54e8aaa91e762fb50e026..bd367293db8e3ac17a6b0c8b78aec9c4b7f39523 100644 (file)
 pub use tuple::{Tuple1, Tuple2, Tuple3, Tuple4};
 pub use tuple::{Tuple5, Tuple6, Tuple7, Tuple8};
 pub use tuple::{Tuple9, Tuple10, Tuple11, Tuple12};
-pub use slice::{ImmutableEqVector, ImmutableTotalOrdVector, ImmutableCloneableVector};
-pub use slice::{OwnedVector};
-pub use slice::{MutableVector, MutableTotalOrdVector, MutableVectorAllocating};
-pub use slice::{Vector, VectorVector, CloneableVector, ImmutableVector};
+pub use slice::{CloneableVector, ImmutableCloneableVector, MutableCloneableVector};
+pub use slice::{ImmutableVector, MutableVector};
+pub use slice::{ImmutableEqVector, ImmutableTotalOrdVector, MutableTotalOrdVector};
+pub use slice::{Vector, VectorVector, OwnedVector, MutableVectorAllocating};
 pub use strbuf::StrBuf;
 pub use vec::Vec;