fix clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alex 2022-07-25 12:06:06 +02:00
parent ad35b18bb1
commit 16f6a1a65d
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

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