1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

chore: fix ref_option lint

Resolve [ref_option](https://rust-lang.github.io/rust-clippy/master/index.html#ref_option) lint.  Also, I optimized `is_first_filename_timestamp` a bit to make it faster and more streamlined.

p.s. disclaimer: I'm the author of that lint
This commit is contained in:
Yuri Astrakhan 2025-04-11 01:27:28 -04:00
parent da61ebf1f6
commit ac5a913996
11 changed files with 45 additions and 44 deletions

View file

@ -599,3 +599,4 @@ unused_qualifications = "warn"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
#cargo = { level = "warn", priority = -1 }
ref_option = "warn"