Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down Expand Up @@ -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
///
Expand Down