Skip to content

Commit

Permalink
Fix typo in docs for MutableCloneableVector
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyball authored and thestinger committed Jul 9, 2013
1 parent ed54999 commit a7e3f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a7e3f06

Please sign in to comment.