about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-02-14 03:59:10 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-02-14 05:06:34 +0530
commitf1f6db688b4bff1ac1d6763d50f7ff3e83d5cd6a (patch)
treee15db188d684ec1482fbb3b57e28b1f90c140859
parenta40f2b6e9282765e3ad4c0e7278a905f05bbdc30 (diff)
parent0352bdf0cb5ce0db94d2b5c2435b4210ec3beeb3 (diff)
downloadrust-f1f6db688b4bff1ac1d6763d50f7ff3e83d5cd6a.tar.gz
rust-f1f6db688b4bff1ac1d6763d50f7ff3e83d5cd6a.zip
Rollup merge of #31585 - tshepang:over-explanation, r=brson
…o read
-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
     ///