mirror of
https://github.com/uutils/procps.git
synced 2026-06-10 16:14:00 -07:00
misc: Fix clippy
This commit is contained in:
@@ -238,6 +238,7 @@ fn process_flag_o_n(
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::cognitive_complexity)]
|
||||
pub fn uu_app() -> Command {
|
||||
Command::new(uucore::util_name())
|
||||
.version(crate_version!())
|
||||
|
||||
@@ -212,7 +212,7 @@ impl ProcessInformation {
|
||||
pid,
|
||||
cmdline,
|
||||
inner_status: fs::read_to_string(dir_append(value.clone(), "status".into()))?,
|
||||
inner_stat: fs::read_to_string(dir_append(value.clone(), "stat".into()))?,
|
||||
inner_stat: fs::read_to_string(dir_append(value, "stat".into()))?,
|
||||
..Default::default()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user