pidof: Fix lint and fmt

This commit is contained in:
Krysztal Huang
2024-07-09 22:40:28 +08:00
parent cc1ea0253d
commit de3ffd0595
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -89,6 +89,7 @@ fn collect_matched_pids(matches: &ArgMatches) -> Vec<ProcessInformation> {
}
}
#[allow(clippy::cognitive_complexity)]
pub fn uu_app() -> Command {
Command::new(uucore::util_name())
.version(crate_version!())
-1
View File
@@ -16,7 +16,6 @@ fn test_find_init() {
new_ucmd!().arg("init").succeeds();
}
#[test]
#[cfg(target_os = "linux")]
fn test_find_kthreadd() {