Remove unneeded block scope
This commit is contained in:
parent
46840d36c9
commit
7c054d2da0
@ -77,9 +77,7 @@ impl AddressBook {
|
|||||||
|
|
||||||
/// Removes an entry
|
/// Removes an entry
|
||||||
pub fn remove(&mut self, a: Address) {
|
pub fn remove(&mut self, a: Address) {
|
||||||
{
|
self.cache.remove(&a);
|
||||||
self.cache.remove(&a);
|
|
||||||
}
|
|
||||||
self.save();
|
self.save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user