who: suppress cognitive_complexity lint

This commit is contained in:
Daniel Hofstetter
2023-10-13 08:26:06 +02:00
parent f76b53d969
commit f1f4823feb
+1
View File
@@ -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"))]