Fix new clippy lints (#3304)

This commit is contained in:
Jonas Platte
2025-04-03 23:22:19 +02:00
committed by GitHub
parent af6a595fdf
commit 5429ed9bd5
6 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ where
async {
// Convert the stream into an `AsyncRead`.
let body_with_io_error = stream.map_err(|err| io::Error::new(io::ErrorKind::Other, err));
let body_with_io_error = stream.map_err(io::Error::other);
let body_reader = StreamReader::new(body_with_io_error);
futures::pin_mut!(body_reader);