From 7d203722cb805fa24325a62585ff47f8c1c79cc1 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Fri, 18 Aug 2023 08:18:32 -0700 Subject: [PATCH] remove clone() (#32885) --- accounts-db/src/cache_hash_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts-db/src/cache_hash_data.rs b/accounts-db/src/cache_hash_data.rs index f25040c92d..25fc34761d 100644 --- a/accounts-db/src/cache_hash_data.rs +++ b/accounts-db/src/cache_hash_data.rs @@ -282,7 +282,7 @@ impl CacheHashData { .read(true) .write(true) .create(false) - .open(path.clone())?; + .open(&path)?; m1.stop(); stats.read_us = m1.as_us();