about summary refs log tree commit diff
path: root/src/libstd/io/net/ip.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-08-06 18:58:43 -0700
committerBrian Anderson <banderson@mozilla.com>2014-08-13 11:30:14 -0700
commit4f5b6927e8e428239082ecc17b85a0506bcc9a65 (patch)
tree321222a7ebea4299f89dbd029e14dbec06d03ec8 /src/libstd/io/net/ip.rs
parentd9177707926d4fbed9dd9e4e7afc9a8c185dafe0 (diff)
downloadrust-4f5b6927e8e428239082ecc17b85a0506bcc9a65.tar.gz
rust-4f5b6927e8e428239082ecc17b85a0506bcc9a65.zip
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]
Diffstat (limited to 'src/libstd/io/net/ip.rs')
-rw-r--r--src/libstd/io/net/ip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/net/ip.rs b/src/libstd/io/net/ip.rs
index 0f864c7be5e..ed76cdc276b 100644
--- a/src/libstd/io/net/ip.rs
+++ b/src/libstd/io/net/ip.rs
@@ -21,7 +21,7 @@ use from_str::FromStr;
 use iter::Iterator;
 use option::{Option, None, Some};
 use str::StrSlice;
-use slice::{MutableCloneableVector, ImmutableVector, MutableVector};
+use slice::{MutableCloneableSlice, ImmutableSlice, MutableSlice};
 
 pub type Port = u16;