Skip to content

Commit b7163d4

Browse files
fix: lint
1 parent aba3136 commit b7163d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ fn check_status(status: ExitStatus) -> io::Result<ExitStatus> {
388388
if status.success() {
389389
Ok(status)
390390
} else {
391-
Err(io::Error::new(io::ErrorKind::Other, format!("Process exited with with status {}", status)))
391+
Err(io::Error::other(format!("Process exited with with status {}", status)))
392392
}
393393
}
394394

0 commit comments

Comments
 (0)