DOC: Fix typo in insert doc

This commit is contained in:
bluss
2018-02-10 21:57:36 +01:00
parent c1b72500cd
commit 16aabf7c2c
+2 -1
View File
@@ -257,7 +257,8 @@ impl<A: Array> ArrayVec<A> {
/// 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;