mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-04 11:57:41 +00:00
fix clippy
This commit is contained in:
+1
-6
@@ -434,12 +434,7 @@ impl<S: Stream<Item = Result<Bytes, Error>> + Unpin> StreamChunker<S> {
|
||||
}
|
||||
}
|
||||
Ok(Some(
|
||||
slices
|
||||
.iter()
|
||||
.map(|x| &x[..])
|
||||
.collect::<Vec<_>>()
|
||||
.concat()
|
||||
.into(),
|
||||
slices.iter().map(|x| &x[..]).collect::<Vec<_>>().concat(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user