]> git.lizzy.rs Git - rust.git/blobdiff - src/mono_hash_map.rs
Fail 80% of the time on weak cmpxchg, not 50%
[rust.git] / src / mono_hash_map.rs
index fc33126aa2e71710ba98388c88e15b4ef8162058..fb0169920ee28fedc71d6b8882935c8429797cd1 100644 (file)
@@ -64,7 +64,7 @@ fn filter_map_collect<T>(&self, mut f: impl FnMut(&K, &V) -> Option<T>) -> Vec<T
         self.0.borrow().iter().filter_map(move |(k, v)| f(k, &*v)).collect()
     }
 
-    /// The most interesting method: Providing a shared ref without
+    /// The most interesting method: Providing a shared reference without
     /// holding the `RefCell` open, and inserting new data if the key
     /// is not used yet.
     /// `vacant` is called if the key is not found in the map;