Skip to content

Commit c817430

Browse files
committed
lints
1 parent 623da36 commit c817430

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/lib/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ where
9999
});
100100

101101
let stream = stream
102-
.map_err(|e| futures::io::Error::new(futures::io::ErrorKind::Other, e))
102+
.map_err(|e| futures::io::Error::other(e))
103103
.into_async_read();
104104
let stream = stream.compat();
105105

crates/lib/src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async fn download_and_extract_pantry(url: &str, dest: &PathBuf) -> Result<(), Bo
5959
let stream = rsp.bytes_stream();
6060

6161
let stream = stream
62-
.map_err(|e| futures::io::Error::new(futures::io::ErrorKind::Other, e))
62+
.map_err(|e| futures::io::Error::other(e))
6363
.into_async_read();
6464
let stream = stream.compat();
6565

0 commit comments

Comments
 (0)