Skip to content

Commit fd6260c

Browse files
committed
chmod: Fix type compat after merge
1 parent 1c35869 commit fd6260c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/uu/chmod/src/chmod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,7 @@ impl Chmoder {
523523
}
524524
Err(err) => {
525525
let error = if err.kind() == std::io::ErrorKind::PermissionDenied {
526-
ChmodError::PermissionDenied(
527-
entry_path.to_string_lossy().to_string(),
528-
)
529-
.into()
526+
ChmodError::PermissionDenied(entry_path).into()
530527
} else {
531528
err.into()
532529
};

0 commit comments

Comments
 (0)