Fix clippy warnings (#275)

This commit is contained in:
Gnome!
2025-05-05 13:58:15 +01:00
committed by GitHub
parent 64868e7213
commit 8956352f13
6 changed files with 18 additions and 17 deletions

View File

@@ -132,8 +132,7 @@ impl HttpRequest {
});
let stream = Box::new(StreamReader::new(
resp.bytes_stream()
.map_err(|e| IoError::new(IoErrorKind::Other, e)),
resp.bytes_stream().map_err(IoError::other),
));
let input = HttpStream {