Fix panic condition docs for Vec::insert.

Fixes https://github.com/rust-lang/rust/issues/47065.
This commit is contained in:
Corey Farwell 2018-01-01 19:06:59 -08:00
parent b65f0bedd2
commit 301e457989

View File

@ -715,7 +715,7 @@ impl<T> Vec<T> {
///
/// # Panics
///
/// Panics if `index` is out of bounds.
/// Panics if `index > len`.
///
/// # Examples
///