From 70fc58bd3730d44905ef20abc0932884c34c273f 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 f5b82427..e8d6d56b 100644 --- a/src/api/s3_copy.rs +++ b/src/api/s3_copy.rs @@ -606,7 +606,7 @@ impl> Defragmenter { } } - return Ok((std::mem::take(&mut self.buffer), self.hash.take())); + Ok((std::mem::take(&mut self.buffer), self.hash.take())) } }