Skip to content

Commit

Permalink
Rollup merge of rust-lang#47121 - frewsxcv:frewsxcv-vec, r=kennytm
Browse files Browse the repository at this point in the history
Fix panic condition docs for Vec::insert.

Fixes rust-lang#47065.
  • Loading branch information
kennytm authored Jan 3, 2018
2 parents 2182f14 + 301e457 commit 8bfb420
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 8bfb420

Please # to comment.