mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
Enable clippy's or_fun_call linter (#7222)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
This commit is contained in:
@@ -251,7 +251,7 @@ where
|
||||
}
|
||||
old
|
||||
};
|
||||
Some(StorageEntry { value: old.unwrap_or(U256::from(0)), ..entry })
|
||||
Some(StorageEntry { value: old.unwrap_or(U256::ZERO), ..entry })
|
||||
})
|
||||
.collect();
|
||||
old_entries.sort_by_key(|entry| entry.key);
|
||||
|
||||
Reference in New Issue
Block a user