Remove unneeded block scope

This commit is contained in:
Jaco Greeff 2016-12-07 17:07:28 +01:00
parent 46840d36c9
commit 7c054d2da0

View File

@ -77,9 +77,7 @@ impl AddressBook {
/// Removes an entry
pub fn remove(&mut self, a: Address) {
{
self.cache.remove(&a);
}
self.cache.remove(&a);
self.save();
}
}