From de531c9a1e463c996be777b998fc695c59119c5f Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 1 Aug 2016 10:14:12 -0700 Subject: [PATCH] Minor simplification --- ethcore/src/pod_account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/pod_account.rs b/ethcore/src/pod_account.rs index 4e7d494d4..af7ef2ebb 100644 --- a/ethcore/src/pod_account.rs +++ b/ethcore/src/pod_account.rs @@ -96,7 +96,7 @@ impl From for PodAccount { PodAccount { balance: a.balance.map_or_else(U256::zero, Into::into), nonce: a.nonce.map_or_else(U256::zero, Into::into), - code: a.code.map(|c| c.into()).or(Some(Vec::new())), + code: a.code.map(Into::into).or(Some(Vec::new())), storage: BTreeMap::new() } }