From e2239061377ac265837becd25201ac71a3fab1b9 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 16 May 2025 22:00:27 +1000 Subject: [PATCH] Use io::Error::other in errors.rs Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- crates/binstalk/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/binstalk/src/errors.rs b/crates/binstalk/src/errors.rs index 80686ef1..afbcfe55 100644 --- a/crates/binstalk/src/errors.rs +++ b/crates/binstalk/src/errors.rs @@ -539,7 +539,7 @@ impl From for io::Error { fn from(e: BinstallError) -> io::Error { match e { BinstallError::Io(io_error) => io_error, - e => io::Error::new(io::ErrorKind::Other, e), + e => io::Error::other(e), } } }