about summary refs log tree commit diff
path: root/src/libstd/vec.rs
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-07-06 00:20:08 -0700
committerDaniel Micay <danielmicay@gmail.com>2013-07-09 16:56:16 -0400
commita7e3f06257d6bcbb3b1d4e95b5e4d2665b8f15ee (patch)
tree7981eff902823869e3e6e609c08d75bd1dddf5a2 /src/libstd/vec.rs
parented5499906559a2fc3e9093574ca7e51bc0a4be4a (diff)
downloadrust-a7e3f06257d6bcbb3b1d4e95b5e4d2665b8f15ee.tar.gz
rust-a7e3f06257d6bcbb3b1d4e95b5e4d2665b8f15ee.zip
Fix typo in docs for MutableCloneableVector
Diffstat (limited to 'src/libstd/vec.rs')
-rw-r--r--src/libstd/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs
index 191c2a4a0b2..66aad294991 100644
--- a/src/libstd/vec.rs
+++ b/src/libstd/vec.rs
@@ -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.