Fix panic condition docs for Vec::insert.
Fixes https://github.com/rust-lang/rust/issues/47065.
This commit is contained in:
parent
b65f0bedd2
commit
301e457989
@ -715,7 +715,7 @@ impl<T> Vec<T> {
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if `index` is out of bounds.
|
||||
/// Panics if `index > len`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user