rustfmt the code

This commit is contained in:
Sylvestre Ledru
2024-01-26 20:22:40 +01:00
parent 8349d5cf6a
commit 8c08862e85
2 changed files with 8 additions and 8 deletions

View File

@@ -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 {
@@ -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),
)
}