Fix typo in docs for MutableCloneableVector
This commit is contained in:
parent
ed54999065
commit
a7e3f06257
|
@ -1771,7 +1771,7 @@ impl<'self,T> MutableVector<'self, T> for &'self mut [T] {
|
|||
|
||||
}
|
||||
|
||||
/// Trait for ~[T] where T is Cloneable
|
||||
/// Trait for &[T] where T is Cloneable
|
||||
pub trait MutableCloneableVector<T> {
|
||||
/// Copies as many elements from `src` as it can into `self`
|
||||
/// (the shorter of self.len() and src.len()). Returns the number of elements copied.
|
||||
|
|
Loading…
Reference in New Issue