auto merge of #11893 : Armavica/rust/copyable-cloneable, r=huonw
I found awkward to have `MutableCloneableVector` and `CloneableIterator` on the one hand, and `CopyableVector` etc. on the other hand. The concerned traits are: * `CopyableVector` --> `CloneableVector` * `OwnedCopyableVector` --> `OwnedCloneableVector` * `ImmutableCopyableVector` --> `ImmutableCloneableVector` * `CopyableTuple` --> `CloneableTuple`
This commit is contained in:
commit
704f93ff5e
12 changed files with 30 additions and 30 deletions
|
|
@ -15,7 +15,7 @@ use cmp;
|
|||
use io;
|
||||
use option::{None, Option, Some};
|
||||
use super::{Reader, Writer};
|
||||
use vec::{bytes, CopyableVector, MutableVector, ImmutableVector};
|
||||
use vec::{bytes, CloneableVector, MutableVector, ImmutableVector};
|
||||
|
||||
/// Allows reading from a port.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ use option::{Option, Some, None};
|
|||
use super::{Reader, Writer, Seek, Buffer, IoError, SeekStyle, io_error,
|
||||
OtherIoError};
|
||||
use vec;
|
||||
use vec::{Vector, ImmutableVector, MutableVector, OwnedCopyableVector};
|
||||
use vec::{Vector, ImmutableVector, MutableVector, OwnedCloneableVector};
|
||||
|
||||
/// Writes to an owned, growable byte vector
|
||||
///
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ use str::{StrSlice, OwnedStr};
|
|||
use to_str::ToStr;
|
||||
use uint;
|
||||
use unstable::finally::Finally;
|
||||
use vec::{OwnedVector, MutableVector, ImmutableVector, OwnedCopyableVector};
|
||||
use vec::{OwnedVector, MutableVector, ImmutableVector, OwnedCloneableVector};
|
||||
use vec;
|
||||
|
||||
// Reexports
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue