From 566b1b48d53db8b9ad1312e41527d6dbab3a4bbe Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Thu, 30 Nov 2023 00:29:09 -0500 Subject: [PATCH] clippy warning --- common/db/src/parity_db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/db/src/parity_db.rs b/common/db/src/parity_db.rs index 9859d4b8f..ff13f0e37 100644 --- a/common/db/src/parity_db.rs +++ b/common/db/src/parity_db.rs @@ -25,7 +25,7 @@ impl DbTxn for Transaction<'_> { impl Get for Arc { fn get(&self, key: impl AsRef<[u8]>) -> Option> { - ParityDb::get(&*self, 0, key.as_ref()).unwrap() + ParityDb::get(self, 0, key.as_ref()).unwrap() } } impl Db for Arc {