diff options
| -rw-r--r-- | src/libcollections/vec.rs | 4 |
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 /// |
