1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 20:47:46 +00:00

who: suppress cognitive_complexity lint

This commit is contained in:
Daniel Hofstetter 2023-10-13 08:26:06 +02:00
parent f76b53d969
commit f1f4823feb

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"))]