Address Clippy 1.73 lints (#4809)

## Proposed Changes

Fix Clippy lints enabled by default in Rust 1.73.0, released today.
This commit is contained in:
Michael Sproul
2023-10-06 03:05:47 +00:00
parent b82f7843ff
commit 9769a247b2
9 changed files with 14 additions and 18 deletions

View File

@@ -48,7 +48,7 @@ impl<E: EthSpec> KeyValueStore<E> for MemoryStore<E> {
self.col_keys
.write()
.entry(col.as_bytes().to_vec())
.or_insert_with(HashSet::new)
.or_default()
.insert(key.to_vec());
Ok(())
}