mark branch as unreachable
All checks were successful
continuous-integration/drone/pr Build is passing

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>>();
Ok(Some(block))
} else {
Ok(None)
unreachable!("FastCDC returned not chunk")
}
}
}