Skip to content

Commit

Permalink
chore: fix typo in retain_force method doc
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhurt authored and jonhoo committed Aug 18, 2024
1 parent d360837 commit 40962fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2686,7 +2686,7 @@ where
///
/// In other words, remove all pairs `(k, v)` such that `f(&k,&v)` returns `false`.
///
/// This method always deletes any key/value pair that `f` returns `false` for, even if if the
/// This method always deletes any key/value pair that `f` returns `false` for, even if the
/// value is updated concurrently. If you do not want that behavior, use [`HashMap::retain`].
///
/// # Examples
Expand Down

0 comments on commit 40962fc

Please sign in to comment.