Skip to content

Commit b56f035

Browse files
authored
Merge pull request #378 from cuviper/indexes
Correct "indexes" to "indices" in `Keys` doc
2 parents a34d7ae + e7e4de4 commit b56f035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/map/iter.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ impl<K, V> Default for Keys<'_, K, V> {
385385
/// [values]: IndexMap#impl-Index<usize>-for-IndexMap<K,+V,+S>
386386
///
387387
/// Since `Keys` is also an iterator, consuming items from the iterator will
388-
/// offset the effective indexes. Similarly, if `Keys` is obtained from
389-
/// [`Slice::keys`], indexes will be interpreted relative to the position of
388+
/// offset the effective indices. Similarly, if `Keys` is obtained from
389+
/// [`Slice::keys`], indices will be interpreted relative to the position of
390390
/// that slice.
391391
///
392392
/// # Examples

0 commit comments

Comments
 (0)