Skip to content

Commit

Permalink
Fix typo in map.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 24, 2021
1 parent b5dafb4 commit 9923b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl<K, V, S> IndexMap<K, V, S> {
}
}

/// Return an iterator over mutable references to the the values of the map,
/// Return an iterator over mutable references to the values of the map,
/// in their order
pub fn values_mut(&mut self) -> ValuesMut<'_, K, V> {
ValuesMut {
Expand Down
2 changes: 1 addition & 1 deletion src/rayon/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ where
K: Send,
V: Send,
{
/// Return a parallel iterator over mutable references to the the values of the map
/// Return a parallel iterator over mutable references to the values of the map
///
/// While parallel iterators can process items in any order, their relative order
/// in the map is still preserved for operations like `reduce` and `collect`.
Expand Down

0 comments on commit 9923b34

Please sign in to comment.