Skip to content

Commit f8d06ec

Browse files
authored
rmdir: cargo fmt
1 parent a63265b commit f8d06ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uu/rmdir/src/rmdir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
7171
// Strip the trailing slash or .symlink_metadata() will follow the symlink
7272
while bytes.ends_with(b"/") {
7373
bytes = &bytes[..bytes.len() - 1];
74-
};
74+
}
7575
let no_slash: &Path = OsStr::from_bytes(&bytes).as_ref();
7676
if no_slash.is_symlink() && points_to_directory(no_slash).unwrap_or(true) {
7777
show_error!(

0 commit comments

Comments
 (0)