Skip to content

Commit

Permalink
fix rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Dec 28, 2024
1 parent ed23111 commit 577e2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/rm/src/rm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ fn handle_dir(path: &Path, options: &Options) -> bool {
if !check_one_fs(path, options) {
return true;
}

let path = clean_trailing_slashes(path);
if path_is_current_or_parent_directory(path) {
show_error!(
Expand Down

0 comments on commit 577e2bf

Please sign in to comment.