mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #5400 from cakebaker/who_cognitive_complexity
who: suppress cognitive_complexity lint
This commit is contained in:
@@ -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"))]
|
||||
|
||||
Reference in New Issue
Block a user