From 16aabf7c2ca56f32e16e61ddb7e2b213eece9073 Mon Sep 17 00:00:00 2001 From: bluss Date: Sat, 10 Feb 2018 21:57:36 +0100 Subject: [PATCH] DOC: Fix typo in insert doc --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;