From db0ea633438b534ee7ccaa84889773eda93ac251 Mon Sep 17 00:00:00 2001 From: Acrimon Date: Wed, 11 Mar 2020 18:45:10 +0100 Subject: [PATCH] v3.7.0 --- Cargo.toml | 2 +- src/mapref/one.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 670d4b41..37c902e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dashmap" -version = "3.6.0" +version = "3.7.0" authors = ["Acrimon "] edition = "2018" license = "MIT" diff --git a/src/mapref/one.rs b/src/mapref/one.rs index df9598b5..9e2a0cd4 100644 --- a/src/mapref/one.rs +++ b/src/mapref/one.rs @@ -76,11 +76,7 @@ impl<'a, K: Eq + Hash, V, S: BuildHasher> RefMut<'a, K, V, S> { k: &'a K, v: &'a mut V, ) -> Self { - Self { - guard, - k, - v, - } + Self { guard, k, v } } #[inline(always)]