diff --git a/src/map/slice.rs b/src/map/slice.rs index 1243739e..0cb0c911 100644 --- a/src/map/slice.rs +++ b/src/map/slice.rs @@ -244,7 +244,7 @@ impl Slice { Values::new(&self.entries) } - /// Return an iterator over mutable references to the the values of the map slice. + /// Return an iterator over mutable references to the values of the map slice. pub fn values_mut(&mut self) -> ValuesMut<'_, K, V> { ValuesMut::new(&mut self.entries) } diff --git a/src/rayon/map.rs b/src/rayon/map.rs index 82666347..39301c3b 100644 --- a/src/rayon/map.rs +++ b/src/rayon/map.rs @@ -394,7 +394,7 @@ where K: Send, V: Send, { - /// Return a parallel iterator over mutable references to the the values of the map slice. + /// Return a parallel iterator over mutable references to the values of the map slice. /// /// While parallel iterators can process items in any order, their relative order /// in the slice is still preserved for operations like `reduce` and `collect`.