diff options
author | Alex Auvolat <alex@adnab.me> | 2022-04-07 23:02:00 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-04-19 12:50:40 +0200 |
commit | c9ef3e461b54f36b7fb60e03959416339cd61a9f (patch) | |
tree | b22e910bbf1cb8109bba741e17ac394e9a36d920 /src/api | |
parent | c93008d33317f1b2a74073950498e634228b39c0 (diff) | |
download | garage-c9ef3e461b54f36b7fb60e03959416339cd61a9f.tar.gz garage-c9ef3e461b54f36b7fb60e03959416339cd61a9f.zip |
fix clippyfix-multipart-fragmentation
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/s3_copy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<S: Stream<Item = BlockStreamItem>> Defragmenter<S> { } } - return Ok((std::mem::take(&mut self.buffer), self.hash.take())); + Ok((std::mem::take(&mut self.buffer), self.hash.take())) } } |