From 4f5b6927e8e428239082ecc17b85a0506bcc9a65 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 6 Aug 2014 18:58:43 -0700 Subject: 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] --- src/librlibc/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librlibc') diff --git a/src/librlibc/lib.rs b/src/librlibc/lib.rs index c7295125f42..706b5c33255 100644 --- a/src/librlibc/lib.rs +++ b/src/librlibc/lib.rs @@ -112,7 +112,7 @@ mod test { use core::iter::Iterator; use core::collections::Collection; use core::str::StrSlice; - use core::slice::{MutableVector, ImmutableVector}; + use core::slice::{MutableSlice, ImmutableSlice}; use super::{memcmp, memset, memcpy, memmove}; -- cgit 1.4.1-3-g733a5