Skip to content

Commit

Permalink
fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jun 12, 2024
1 parent 0935f1d commit c91ac5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libspecr/src/map/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ impl<K: Obj, V: Obj> Map<K, V> {
}

/// Removes `k` from the map.
/// If the pair (k, v)` was in the map `Some(v)` is returned.
/// Otherwise `None` is returned.
/// If the pair `(k, v)` was in the map, `Some(v)` is returned.
/// Otherwise, `None` is returned.
pub fn remove(&mut self, k: K) -> Option<V> {
self.0.mutate(|m| {
m.remove(&k)
Expand Down

0 comments on commit c91ac5d

Please sign in to comment.