From f1f4823feb91dd3a8644287a1995e5f5433b8ef7 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 13 Oct 2023 08:26:06 +0200 Subject: [PATCH] who: suppress cognitive_complexity lint --- src/uu/who/src/who.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uu/who/src/who.rs b/src/uu/who/src/who.rs index 29929b138..5d952efff 100644 --- a/src/uu/who/src/who.rs +++ b/src/uu/who/src/who.rs @@ -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"))]