You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
Currently, to initialize a HashMap that's intended to be used immediately with some values, we do
Is your feature request related to a problem? Please describe.
Currently, to initialize a HashMap that's intended to be used immediately with some values, we do
ethers-rs/ethers-etherscan/src/lib.rs
Lines 129 to 131 in 4608ddd
Rust 1.56.0 introduces a new way to do so:
thanks to const generics. Release with that feature is planned to be on 2021-10-21.
Describe the solution you'd like
Replace existing hashmap initializations with proposed solution.