diff --git a/libspecr/src/map/func.rs b/libspecr/src/map/func.rs index 6781967..46cc1a1 100644 --- a/libspecr/src/map/func.rs +++ b/libspecr/src/map/func.rs @@ -19,8 +19,8 @@ impl Map { } /// 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 { self.0.mutate(|m| { m.remove(&k)