Update directory.rs

This commit is contained in:
Gav Wood 2016-02-19 13:30:36 +01:00
parent 63c5a2e58f
commit d43b23d663

View File

@ -494,7 +494,7 @@ impl KeyDirectory {
// todo: replace with Ref::map when it stabilized to avoid copies // todo: replace with Ref::map when it stabilized to avoid copies
Some(self.cache.borrow().get(id) Some(self.cache.borrow().get(id)
.expect("should be they key, we have just inserted or checked it") .expect("Key should be there, we have just inserted or checked it.")
.clone()) .clone())
} }