From c9ef3e461b54f36b7fb60e03959416339cd61a9f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 7 Apr 2022 23:02:00 +0200 Subject: [PATCH] fix clippy --- src/api/s3_copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/s3_copy.rs b/src/api/s3_copy.rs index 1b2573a1..fc4707e2 100644 --- a/src/api/s3_copy.rs +++ b/src/api/s3_copy.rs @@ -594,7 +594,7 @@ impl> Defragmenter { } } - return Ok((std::mem::take(&mut self.buffer), self.hash.take())); + Ok((std::mem::take(&mut self.buffer), self.hash.take())) } }