diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index b767a1ea054c1..c308cdfc8b82c 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -525,8 +525,7 @@ impl Vec { /// /// # Panics /// - /// Panics if `index` is not between `0` and the vector's length (both - /// bounds inclusive). + /// Panics if `index` is greater than the vector's length. /// /// # Examples ///