Fix typo in docs for MutableCloneableVector
This commit is contained in:
committed by
Daniel Micay
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> {
|
pub trait MutableCloneableVector<T> {
|
||||||
/// Copies as many elements from `src` as it can into `self`
|
/// 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.
|
/// (the shorter of self.len() and src.len()). Returns the number of elements copied.
|
||||||
|
|||||||
Reference in New Issue
Block a user