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
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ impl<T> Vec<T> {
|
|||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if `index` is out of bounds.
|
||||
/// Panics if `index > len`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue