diff --git a/src/lib.rs b/src/lib.rs index b7c9292..96e7a24 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -257,7 +257,8 @@ impl ArrayVec { /// It is an error if the index is greater than the length or if the /// arrayvec is full. /// - /// ***Panics*** on errors. See `try_result` for fallible version. + /// ***Panics*** if the array is full or the `index` is out of bounds. See + /// `try_insert` for fallible version. /// /// ``` /// use arrayvec::ArrayVec;