Skip to content

Commit

Permalink
Merge pull request #378 from cuviper/indexes
Browse files Browse the repository at this point in the history
Correct "indexes" to "indices" in `Keys` doc
  • Loading branch information
cuviper authored Feb 25, 2025
2 parents a34d7ae + e7e4de4 commit b56f035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ impl<K, V> Default for Keys<'_, K, V> {
/// [values]: IndexMap#impl-Index<usize>-for-IndexMap<K,+V,+S>
///
/// Since `Keys` is also an iterator, consuming items from the iterator will
/// offset the effective indexes. Similarly, if `Keys` is obtained from
/// [`Slice::keys`], indexes will be interpreted relative to the position of
/// offset the effective indices. Similarly, if `Keys` is obtained from
/// [`Slice::keys`], indices will be interpreted relative to the position of
/// that slice.
///
/// # Examples
Expand Down

0 comments on commit b56f035

Please sign in to comment.