mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
mv: fix warning from io_other_error lint
Co-authored-by: Jeremy Smart <jeremy3141592@gmail.com>
This commit is contained in:
parent
4d44afcd87
commit
7a706b5756
1 changed files with 1 additions and 1 deletions
|
@ -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(()),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue