From 323b6797f047494cee90ff5e47faf1e742192671 Mon Sep 17 00:00:00 2001 From: maxtaran2010 Date: Fri, 10 Jul 2026 00:44:16 +0300 Subject: [PATCH] Fix typos in comments and documentation --- src/map/slice.rs | 2 +- src/rayon/map.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`.