diff --git a/src/map.rs b/src/map.rs index 264d500f3..69355921a 100644 --- a/src/map.rs +++ b/src/map.rs @@ -1783,7 +1783,7 @@ where /// /// However this operation is still unsafe because the resulting `HashMap` /// may be passed to unsafe code which does expect the map to behave - /// correctly, and would could unsoundness as a result. + /// correctly, and would cause unsoundness as a result. /// /// # Examples /// diff --git a/src/set.rs b/src/set.rs index 3c59076b1..432d17083 100644 --- a/src/set.rs +++ b/src/set.rs @@ -1138,7 +1138,7 @@ where /// /// However this operation is still unsafe because the resulting `HashSet` /// may be passed to unsafe code which does expect the set to behave - /// correctly, and would could unsoundness as a result. + /// correctly, and would cause unsoundness as a result. #[cfg_attr(feature = "inline-more", inline)] pub unsafe fn insert_unique_unchecked(&mut self, value: T) -> &T { self.map.insert_unique_unchecked(value, ()).0