Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Sep 20, 2024
1 parent fb57217 commit 3840d00
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 @@ -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
///
Expand Down
2 changes: 1 addition & 1 deletion src/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3840d00

Please sign in to comment.