Skip to content

Commit

Permalink
rustfmt the code
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jan 26, 2024
1 parent 8349d5c commit 8c08862
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 8 additions & 7 deletions src/uu/mountpoint/src/mountpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
eprintln!("Error: Path argument is required");
process::exit(1);
}
Ok(())
Ok(())
}

fn is_mountpoint(path: &str) -> bool {
Expand All @@ -56,10 +56,11 @@ pub fn uu_app() -> Command {
.about(ABOUT)
.override_usage(format_usage(USAGE))
.infer_long_args(true)

.arg(Arg::new("path")
.value_name("PATH")
.help("Path to check for mountpoint")
.required(true)
.index(1))
.arg(
Arg::new("path")
.value_name("PATH")
.help("Path to check for mountpoint")
.required(true)
.index(1),
)
}
1 change: 0 additions & 1 deletion tests/by-util/test_renice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// file that was distributed with this source code.
// spell-checker:ignore (words) symdir somefakedir


use crate::common::util::{TestScenario, UCommand};

#[test]
Expand Down

0 comments on commit 8c08862

Please sign in to comment.