diff options
Diffstat (limited to 'src/block')
-rw-r--r-- | src/block/rc.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/block/rc.rs b/src/block/rc.rs index f6d8c2aa..7d85f67e 100644 --- a/src/block/rc.rs +++ b/src/block/rc.rs @@ -26,9 +26,7 @@ impl BlockRc { Some(x) => { tx.insert(&self.rc, &hash, x)?; } - None => { - tx.remove(&self.rc, &hash)?; - } + None => unreachable!(), }; tx.commit(old_rc) })?; |