mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 21:17:46 +00:00
who: suppress cognitive_complexity lint
This commit is contained in:
parent
f76b53d969
commit
f1f4823feb
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ fn current_tty() -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Who {
|
impl Who {
|
||||||
|
#[allow(clippy::cognitive_complexity)]
|
||||||
fn exec(&mut self) -> UResult<()> {
|
fn exec(&mut self) -> UResult<()> {
|
||||||
let run_level_chk = |_record: i16| {
|
let run_level_chk = |_record: i16| {
|
||||||
#[cfg(not(target_os = "linux"))]
|
#[cfg(not(target_os = "linux"))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue