Skip to content

Commit 16aabf7

Browse files
committed
DOC: Fix typo in insert doc
1 parent c1b7250 commit 16aabf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ impl<A: Array> ArrayVec<A> {
257257
/// It is an error if the index is greater than the length or if the
258258
/// arrayvec is full.
259259
///
260-
/// ***Panics*** on errors. See `try_result` for fallible version.
260+
/// ***Panics*** if the array is full or the `index` is out of bounds. See
261+
/// `try_insert` for fallible version.
261262
///
262263
/// ```
263264
/// use arrayvec::ArrayVec;

0 commit comments

Comments
 (0)