From 6cbc8d6ec93b832a301a5402f1b1ae70b07a2be3 Mon Sep 17 00:00:00 2001 From: Trinity Pointard Date: Tue, 6 Apr 2021 16:53:39 +0200 Subject: [PATCH] mark branch as unreachable --- src/api/s3_put.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/s3_put.rs b/src/api/s3_put.rs index d27029401..d023bcefe 100644 --- a/src/api/s3_put.rs +++ b/src/api/s3_put.rs @@ -313,7 +313,7 @@ impl BodyChunker { let block = self.buf.drain(..length).collect::>(); Ok(Some(block)) } else { - Ok(None) + unreachable!("FastCDC returned not chunk") } } }