Skip to content

Commit a7e3f06

Browse files
lilyballthestinger
authored andcommitted
Fix typo in docs for MutableCloneableVector
1 parent ed54999 commit a7e3f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@ impl<'self,T> MutableVector<'self, T> for &'self mut [T] {
17711771

17721772
}
17731773

1774-
/// Trait for ~[T] where T is Cloneable
1774+
/// Trait for &[T] where T is Cloneable
17751775
pub trait MutableCloneableVector<T> {
17761776
/// Copies as many elements from `src` as it can into `self`
17771777
/// (the shorter of self.len() and src.len()). Returns the number of elements copied.

0 commit comments

Comments
 (0)