mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
mv: fix warning from io_other_error lint
Co-authored-by: Jeremy Smart <jeremy3141592@gmail.com>
This commit is contained in:
co-authored by
Jeremy Smart
parent
4d44afcd87
commit
7a706b5756
+1
-1
@@ -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(()),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user