[ci skip] trailing commas

This commit is contained in:
Nikolay Volf 2016-03-04 16:40:17 +03:00
parent 4131a60b43
commit ae51d99fb8

View File

@ -59,7 +59,7 @@ pub enum EncryptedHashMapError {
/// Represent service for storing encrypted arbitrary data /// Represent service for storing encrypted arbitrary data
pub struct SecretStore { pub struct SecretStore {
directory: KeyDirectory, directory: KeyDirectory,
unlocks: RwLock<HashMap<Address, AccountUnlock>> unlocks: RwLock<HashMap<Address, AccountUnlock>>,
} }
struct AccountUnlock { struct AccountUnlock {
@ -80,7 +80,7 @@ impl SecretStore {
pub fn new_in(path: &Path) -> SecretStore { pub fn new_in(path: &Path) -> SecretStore {
SecretStore { SecretStore {
directory: KeyDirectory::new(path), directory: KeyDirectory::new(path),
unlocks: RwLock::new(HashMap::new()) unlocks: RwLock::new(HashMap::new()),
} }
} }
@ -129,7 +129,7 @@ impl SecretStore {
fn new_test(path: &::devtools::RandomTempPath) -> SecretStore { fn new_test(path: &::devtools::RandomTempPath) -> SecretStore {
SecretStore { SecretStore {
directory: KeyDirectory::new(path.as_path()), directory: KeyDirectory::new(path.as_path()),
unlocks: RwLock::new(HashMap::new()) unlocks: RwLock::new(HashMap::new()),
} }
} }