From 7c7f5fa5d45b20e7e55e87a5cd09a467178a566d Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre@debian.org>
Date: Fri, 26 Jan 2024 19:16:15 +0100
Subject: [PATCH] rustfmt the code

---
 src/uu/lscpu/src/lscpu.rs           | 9 ++++-----
 src/uu/mountpoint/src/mountpoint.rs | 6 ++----
 src/uu/pwdx/src/pwdx.rs             | 4 ++--
 src/uu/renice/src/renice.rs         | 2 +-
 4 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/src/uu/lscpu/src/lscpu.rs b/src/uu/lscpu/src/lscpu.rs
index f94f82d..bafe107 100644
--- a/src/uu/lscpu/src/lscpu.rs
+++ b/src/uu/lscpu/src/lscpu.rs
@@ -3,11 +3,11 @@
 // For the full copyright and license information, please view the LICENSE
 // file that was distributed with this source code.
 
-use regex::Regex;
-use uucore::{error::UResult, format_usage, help_about, help_usage};
 use clap::{crate_version, Command};
-use std::{fs};
+use regex::Regex;
+use std::fs;
 use sysinfo::System;
+use uucore::{error::UResult, format_usage, help_about, help_usage};
 
 const ABOUT: &str = help_about!("lscpu.md");
 const USAGE: &str = help_usage!("lscpu.md");
@@ -41,11 +41,10 @@ fn get_architecture() -> String {
     }
 }
 
-
 pub fn uu_app() -> Command {
     Command::new(uucore::util_name())
         .version(crate_version!())
         .about(ABOUT)
         .override_usage(format_usage(USAGE))
         .infer_long_args(true)
-}
\ No newline at end of file
+}
diff --git a/src/uu/mountpoint/src/mountpoint.rs b/src/uu/mountpoint/src/mountpoint.rs
index 06c0fda..54fa2e8 100644
--- a/src/uu/mountpoint/src/mountpoint.rs
+++ b/src/uu/mountpoint/src/mountpoint.rs
@@ -3,19 +3,18 @@
 // For the full copyright and license information, please view the LICENSE
 // file that was distributed with this source code.
 
+use clap::{crate_version, Command};
 use std::env;
 use std::fs;
 use std::os::unix::fs::MetadataExt;
 use std::process;
 use uucore::{error::UResult, format_usage, help_about, help_usage};
-use clap::{crate_version, Command};
 
 const ABOUT: &str = help_about!("mountpoint.md");
 const USAGE: &str = help_usage!("mountpoint.md");
 
 #[uucore::main]
 pub fn uumain(args: impl uucore::Args) -> UResult<()> {
-
     let args: Vec<String> = env::args().collect();
 
     if args.len() != 2 {
@@ -49,11 +48,10 @@ fn is_mountpoint(path: &str) -> bool {
         }
 }
 
-
 pub fn uu_app() -> Command {
     Command::new(uucore::util_name())
         .version(crate_version!())
         .about(ABOUT)
         .override_usage(format_usage(USAGE))
         .infer_long_args(true)
-}
\ No newline at end of file
+}
diff --git a/src/uu/pwdx/src/pwdx.rs b/src/uu/pwdx/src/pwdx.rs
index 4d733d9..a5f5652 100644
--- a/src/uu/pwdx/src/pwdx.rs
+++ b/src/uu/pwdx/src/pwdx.rs
@@ -3,11 +3,11 @@
 // For the full copyright and license information, please view the LICENSE
 // file that was distributed with this source code.
 
+use clap::{crate_version, Command};
 use std::env;
 use std::fs;
 use std::path::Path;
 use std::process;
-use clap::{crate_version, Command};
 
 use uucore::{error::UResult, format_usage, help_about, help_usage};
 
@@ -42,4 +42,4 @@ pub fn uu_app() -> Command {
         .about(ABOUT)
         .override_usage(format_usage(USAGE))
         .infer_long_args(true)
-}
\ No newline at end of file
+}
diff --git a/src/uu/renice/src/renice.rs b/src/uu/renice/src/renice.rs
index d4a20d1..76305ef 100644
--- a/src/uu/renice/src/renice.rs
+++ b/src/uu/renice/src/renice.rs
@@ -47,4 +47,4 @@ pub fn uu_app() -> Command {
         .about(ABOUT)
         .override_usage(format_usage(USAGE))
         .infer_long_args(true)
-}
\ No newline at end of file
+}