Skip to content

Commit

Permalink
Rollup merge of #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 #47065.
  • Loading branch information
frewsxcv authored Jan 2, 2018
2 parents 1809c14 + 301e457 commit 4002618
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 4002618

Please sign in to comment.