Skip to content

Commit

Permalink
who: suppress cognitive_complexity lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Oct 13, 2023
1 parent f76b53d commit f1f4823
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/uu/who/src/who.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ fn current_tty() -> String {
}

impl Who {
#[allow(clippy::cognitive_complexity)]
fn exec(&mut self) -> UResult<()> {
let run_level_chk = |_record: i16| {
#[cfg(not(target_os = "linux"))]
Expand Down

0 comments on commit f1f4823

Please sign in to comment.