Skip to content

Commit

Permalink
first fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pugachAG committed Jan 10, 2023
1 parent 29acb58 commit 5496f34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added clippy.toml
Empty file.
2 changes: 1 addition & 1 deletion core/store/src/trie/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ impl Trie {
key: &[u8],
mode: KeyLookupMode,
) -> Result<Option<ValueRef>, StorageError> {
let key_nibbles = NibbleSlice::new(key.clone());
let key_nibbles = NibbleSlice::new(key);
let result = self.lookup(key_nibbles);

// For now, to test correctness, flat storage does double the work and
Expand Down

0 comments on commit 5496f34

Please sign in to comment.