diff options
| author | Corey Farwell <coreyf@rwell.org> | 2018-01-01 19:06:59 -0800 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2018-01-01 19:06:59 -0800 |
| commit | 301e457989ea80926a98f3279dc2e42da47e466d (patch) | |
| tree | 4800dc10bb38f80870286953e4dba38571da854e /src/liballoc/vec.rs | |
| parent | b65f0bedd2f22d9661ecb7092f07746dc2ccfb0d (diff) | |
| download | rust-301e457989ea80926a98f3279dc2e42da47e466d.tar.gz rust-301e457989ea80926a98f3279dc2e42da47e466d.zip | |
Fix panic condition docs for Vec::insert.
Fixes https://github.com/rust-lang/rust/issues/47065.
Diffstat (limited to 'src/liballoc/vec.rs')
| -rw-r--r-- | src/liballoc/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index 93d7e66b7b2..301e44632b8 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -715,7 +715,7 @@ impl<T> Vec<T> { /// /// # Panics /// - /// Panics if `index` is out of bounds. + /// Panics if `index > len`. /// /// # Examples /// |
