fix clippy

This commit is contained in:
Alex Auvolat 2022-04-07 23:02:00 +02:00
parent c93008d333
commit c9ef3e461b
No known key found for this signature in database
GPG Key ID: 0E496D15096376BE

View File

@ -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()))
}
}