Reformat the source code

This commit is contained in:
Artem Vorotnikov
2020-08-05 07:08:03 +03:00
parent 253ff3f37b
commit 610d9baba4
742 changed files with 175791 additions and 141379 deletions

View File

@@ -20,9 +20,11 @@ extern crate ethereum_types;
extern crate plain_hasher;
use ethereum_types::H256;
use std::hash;
use std::collections::{HashMap, HashSet};
use plain_hasher::PlainHasher;
use std::{
collections::{HashMap, HashSet},
hash,
};
/// Specialized version of `HashMap` with H256 keys and fast hashing function.
pub type H256FastMap<T> = HashMap<H256, T, hash::BuildHasherDefault<PlainHasher>>;