Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KaoImin committed May 27, 2020
1 parent fe54a83 commit 43fe1f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/src/binding/store/map_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ where
let bkt_name = self.get_bucket_name(bkt_idx);

if bkt_idx == self.latest_bkt_idx {
return self.try_insert_with_cache(&key, &key_bytes, &bkt_name, mk, value);
return self.try_insert_with_cache(&key, &bkt_name, mk, value);
}

let tmp = self.state.borrow().get(&bkt_name)?;
Expand Down Expand Up @@ -213,7 +213,6 @@ where
fn try_insert_with_cache(
&mut self,
key: &K,
key_bytes: &Bytes,
bkt_name: &Hash,
mk: Hash,
value: V,
Expand Down

0 comments on commit 43fe1f5

Please sign in to comment.