Skip to content

Commit 55a5ae4

Browse files
committed
chore: fix clippy issue
Signed-off-by: Xin Liu <[email protected]>
1 parent 0a616c7 commit 55a5ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy/http_proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl HttpProxy {
8484
let body_stream = stream.map(|result| {
8585
result.map_err(|e| {
8686
error!("Error reading response stream: {}", e);
87-
std::io::Error::new(std::io::ErrorKind::Other, e)
87+
std::io::Error::other(e)
8888
})
8989
});
9090

0 commit comments

Comments
 (0)