From 7f9522c5286cfbbb78df15f00f87b8331cb875d6 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 20 Jan 2023 08:08:52 +0100 Subject: [PATCH] fmt (#251) --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b9b35b0c..e552a961 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