Skip to content

Commit 36cf51d

Browse files
committed
doc: it is 'index', not 'i'
1 parent f4ab2b3 commit 36cf51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ impl<T> Vec<T> {
536536
///
537537
/// # Panics
538538
///
539-
/// Panics if `i` is out of bounds.
539+
/// Panics if `index` is out of bounds.
540540
///
541541
/// # Examples
542542
///

0 commit comments

Comments
 (0)