From 2398aaa72751ae3266757289d6ae7afbee07fd26 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 22 Dec 2019 17:44:25 +0100 Subject: Remove unnecessary clone() call Signed-off-by: Matthias Beyer --- lib/core/libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/libimagstore/src/store.rs b/lib/core/libimagstore/src/store.rs index b7ffa35d..829ac60c 100644 --- a/lib/core/libimagstore/src/store.rs +++ b/lib/core/libimagstore/src/store.rs @@ -203,7 +203,7 @@ impl Store { } let store = Store { - location: location.clone(), + location, entries: Arc::new(RwLock::new(HashMap::new())), backend, }; -- cgit v1.2.3