mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-09 17:23:08 +00:00
clippy fix
This commit is contained in:
parent
fc14475541
commit
779c46c7a3
@ -22,9 +22,10 @@ pub fn evm_constants() -> HashMap<String, U256> {
|
||||
let hex_constants = MISC_CONSTANTS
|
||||
.iter()
|
||||
.chain(EC_CONSTANTS.iter())
|
||||
.chain(HASH_CONSTANTS.iter());
|
||||
.chain(HASH_CONSTANTS.iter())
|
||||
.cloned();
|
||||
for (name, value) in hex_constants {
|
||||
c.insert(name.clone().into(), U256::from_big_endian(value));
|
||||
c.insert(name.into(), U256::from_big_endian(&value));
|
||||
}
|
||||
|
||||
for (name, value) in GAS_CONSTANTS {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user