We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7095668 commit 46c9312Copy full SHA for 46c9312
src/uu/install/src/install.rs
@@ -854,10 +854,7 @@ fn copy_file(from: &Path, to: &Path) -> UResult<()> {
854
// see if the file exists, and it can't even be checked, this means we
855
// don't have permission to access the file, so we should return an error.
856
if let Err(to_stat) = to.try_exists() {
857
- return Err(InstallError::CannotStat(
858
- to.to_path_buf(),
859
- to_stat.to_string(),
860
- ).into());
+ return Err(InstallError::CannotStat(to.to_path_buf(), to_stat.to_string()).into());
861
}
862
863
if to.is_dir() && !from.is_dir() {
0 commit comments