Skip to content

Commit 40fe325

Browse files
tshepangsteveklabnik
authored andcommitted
doc: it is 'index', not 'i'
1 parent be613a1 commit 40fe325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ impl<T> Vec<T> {
540540
///
541541
/// # Panics
542542
///
543-
/// Panics if `i` is out of bounds.
543+
/// Panics if `index` is out of bounds.
544544
///
545545
/// # Examples
546546
///

0 commit comments

Comments
 (0)