1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

mv: fix warning from io_other_error lint

Co-authored-by: Jeremy Smart <jeremy3141592@gmail.com>
This commit is contained in:
Daniel Hofstetter 2025-05-19 09:27:36 +02:00
parent 4d44afcd87
commit 7a706b5756

View file

@ -826,7 +826,7 @@ fn rename_dir_fallback(
io::ErrorKind::PermissionDenied,
"Permission denied",
)),
_ => Err(io::Error::new(io::ErrorKind::Other, format!("{err:?}"))),
_ => Err(io::Error::other(format!("{err:?}"))),
},
_ => Ok(()),
}