Removes redundant mut in ethcore

This commit is contained in:
Dmitry Kashitsyn
2017-10-15 20:10:20 +07:00
parent b0c15497e1
commit 3df67b376b
10 changed files with 19 additions and 19 deletions

View File

@@ -962,7 +962,7 @@ impl<B: Backend> State<B> {
// at this point the entry is guaranteed to be in the cache.
Ok(RefMut::map(self.cache.borrow_mut(), |c| {
let mut entry = c.get_mut(a).expect("entry known to exist in the cache; qed");
let entry = c.get_mut(a).expect("entry known to exist in the cache; qed");
match &mut entry.account {
&mut Some(ref mut acc) => not_default(acc),