Skip to content

Commit

Permalink
Fix panic condition docs for Vec::insert.
Browse files Browse the repository at this point in the history
Fixes #47065.
  • Loading branch information
frewsxcv committed Jan 2, 2018
1 parent b65f0be commit 301e457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ impl<T> Vec<T> {
///
/// # Panics
///
/// Panics if `index` is out of bounds.
/// Panics if `index > len`.
///
/// # Examples
///
Expand Down

0 comments on commit 301e457

Please # to comment.