diff --git a/src/lib.rs b/src/lib.rs index b9b35b0..e552a96 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -331,7 +331,7 @@ impl<'a, K: 'a + Eq + Hash, V: 'a, S: BuildHasher + Clone> DashMap { /// use dashmap::SharedValue; /// /// let mut map = DashMap::::new(); - /// let shard_ind = map.determine_map(&42); + /// let shard_ind = map.determine_map(&42); /// map.shards_mut()[shard_ind].get_mut().insert(42, SharedValue::new("forty two")); /// assert_eq!(*map.get(&42).unwrap(), "forty two"); /// ``` @@ -341,9 +341,9 @@ impl<'a, K: 'a + Eq + Hash, V: 'a, S: BuildHasher + Clone> DashMap { /// Consumes this `DashMap` and returns the inner shards. /// You should probably not use this unless you know what you are doing. - /// + /// /// Requires the `raw-api` feature to be enabled. - /// + /// /// See [`DashMap::shards()`] and [`DashMap::shards_mut()`] for more information. pub fn into_shards(self) -> Box<[RwLock>]> { self.shards