1
Fork 0

Rename ImmutableCopyableVector to ImmutableCloneableVector

This commit is contained in:
Virgile Andreani 2014-01-28 23:42:40 +01:00
parent 8642601551
commit 0c081afabd
3 changed files with 4 additions and 4 deletions

View file

@ -1261,7 +1261,7 @@ impl<'a, T: TotalOrd> ImmutableTotalOrdVector<T> for &'a [T] {
}
/// Extension methods for vectors containing `Clone` elements.
pub trait ImmutableCopyableVector<T> {
pub trait ImmutableCloneableVector<T> {
/**
* Partitions the vector into those that satisfies the predicate, and
* those that do not.
@ -1273,7 +1273,7 @@ pub trait ImmutableCopyableVector<T> {
fn permutations(self) -> Permutations<T>;
}
impl<'a,T:Clone> ImmutableCopyableVector<T> for &'a [T] {
impl<'a,T:Clone> ImmutableCloneableVector<T> for &'a [T] {
#[inline]
fn partitioned(&self, f: |&T| -> bool) -> (~[T], ~[T]) {
let mut lefts = ~[];