about summary refs log tree commit diff
path: root/src/libregex
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/libregex
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/libregex')
-rw-r--r--src/libregex/vm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregex/vm.rs b/src/libregex/vm.rs
index b37000df02d..118c2f7a3ce 100644
--- a/src/libregex/vm.rs
+++ b/src/libregex/vm.rs
@@ -35,7 +35,7 @@
 
 use std::cmp;
 use std::mem;
-use std::slice::MutableVector;
+use std::slice::MutableSlice;
 use compile::{
     Program,
     Match, OneChar, CharClass, Any, EmptyBegin, EmptyEnd, EmptyWordBoundary,