about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-02-11 23:35:30 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-02-12 03:03:55 +0200
commit0352bdf0cb5ce0db94d2b5c2435b4210ec3beeb3 (patch)
tree6ff2f624e7cec217797b99eba3b579efca0848b9 /src
parenta91ff1c9d1842918329ef7a81afd3848854d53c7 (diff)
downloadrust-0352bdf0cb5ce0db94d2b5c2435b4210ec3beeb3.tar.gz
rust-0352bdf0cb5ce0db94d2b5c2435b4210ec3beeb3.zip
doc: skipping (obvious) details here is worth making this more nice to read
Diffstat (limited to 'src')
-rw-r--r--src/libcollections/vec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index 805d9a9807a..1bc9e6588ad 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -528,7 +528,7 @@ impl<T> Vec<T> {
     }
 
     /// Inserts an element at position `index` within the vector, shifting all
-    /// elements after position `i` one position to the right.
+    /// elements after it to the right.
     ///
     /// # Panics
     ///
@@ -570,7 +570,7 @@ impl<T> Vec<T> {
     }
 
     /// Removes and returns the element at position `index` within the vector,
-    /// shifting all elements after position `index` one position to the left.
+    /// shifting all elements after it to the left.
     ///
     /// # Panics
     ///