mark branch as unreachable

This commit is contained in:
Trinity Pointard 2021-04-06 16:53:39 +02:00
parent b3b0b20d72
commit 6cbc8d6ec9

View File

@ -313,7 +313,7 @@ impl BodyChunker {
let block = self.buf.drain(..length).collect::<Vec<u8>>(); let block = self.buf.drain(..length).collect::<Vec<u8>>();
Ok(Some(block)) Ok(Some(block))
} else { } else {
Ok(None) unreachable!("FastCDC returned not chunk")
} }
} }
} }