Skip to content

Commit

Permalink
clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Nov 30, 2023
1 parent 76fa83c commit 566b1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/db/src/parity_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl DbTxn for Transaction<'_> {

impl Get for Arc<ParityDb> {
fn get(&self, key: impl AsRef<[u8]>) -> Option<Vec<u8>> {
ParityDb::get(&*self, 0, key.as_ref()).unwrap()
ParityDb::get(self, 0, key.as_ref()).unwrap()
}
}
impl Db for Arc<ParityDb> {
Expand Down

0 comments on commit 566b1b4

Please sign in to comment.