Skip to content

Commit 3bd4ab3

Browse files
committed
Correct "indexes" to "indices" in Keys doc
Both are valid English, but we use "indices" consistently everywhere else, and that's generally more common in technical contexts. (cherry picked from commit e7e4de4)
1 parent 5e004bd commit 3bd4ab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/map/iter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ impl<K, V> Default for Keys<'_, K, V> {
626626
/// [values]: RingMap#impl-Index<usize>-for-RingMap<K,+V,+S>
627627
///
628628
/// Since `Keys` is also an iterator, consuming items from the iterator will
629-
/// offset the effective indexes. Similarly, if `Keys` is obtained from
630-
/// [`Slice::keys`][super::Slice::keys], indexes will be interpreted relative to the position of
629+
/// offset the effective indices. Similarly, if `Keys` is obtained from
630+
/// [`Slice::keys`][super::Slice::keys], indices will be interpreted relative to the position of
631631
/// that slice.
632632
///
633633
/// # Examples

0 commit comments

Comments
 (0)