From 24d605fb05830977fe58cff5a1dbce09a75bd36a 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 d2702940..d023bcef 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") } } }