mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +00:00
Merge pull request #5400 from cakebaker/who_cognitive_complexity
who: suppress cognitive_complexity lint
This commit is contained in:
commit
fa28dec39e
1 changed files with 1 additions and 0 deletions
|
@ -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"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue