diff options
author | Alex Auvolat <alex@adnab.me> | 2022-07-22 19:06:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-07-29 12:25:03 +0200 |
commit | 68087ee13dc22dbaeb0c1fa8dcb4bdbaa82098a6 (patch) | |
tree | 6dfb63c24ae6a14350ce19d9e08bef27ff0fe36d /src/api/s3/get.rs | |
parent | 605a630333c8ee60c55fe011a375c01277bba173 (diff) | |
download | garage-68087ee13dc22dbaeb0c1fa8dcb4bdbaa82098a6.tar.gz garage-68087ee13dc22dbaeb0c1fa8dcb4bdbaa82098a6.zip |
Fix clippy
Diffstat (limited to 'src/api/s3/get.rs')
-rw-r--r-- | src/api/s3/get.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/s3/get.rs b/src/api/s3/get.rs index 7d118f89..c7621ade 100644 --- a/src/api/s3/get.rs +++ b/src/api/s3/get.rs @@ -450,7 +450,6 @@ fn body_from_blocks_range( let garage = garage.clone(); async move { let data = garage.block_manager.rpc_get_block(&block.hash).await?; - let data = Bytes::from(data); let start_in_block = if true_offset > begin { 0 } else { |