Files
RedBear-OS/local
vasilito 277b3f0b16 tlc: clippy cleanup — fix all lint warnings
Fixes 19 clippy warnings across 9 files:
- filehighlight.rs: iter().any() → contains()
- info.rs: manual clamp → .clamp()
- jobs.rs: format!("{}",x) → to_string(), clone → from_ref, allow if_same_then_else
- mod.rs: clone → from_ref, Box::new(x::new()) → Box::default(), allow collapsible_match
- panel.rs: io::Error::new(Other,..) → io::Error::other(..), merge identical archive ext branches
- subshell.rs: allow needless_return (cfg-gated false positive)
- tar.rs, cpio.rs: simplify boolean expressions
- macro.rs: allow collapsible_match (guard would change fallthrough semantics)

1 pre-existing warning remains (Include(String) never read in mc_ext.rs).
964 tests pass, 0 failures.
2026-06-19 08:51:10 +03:00
..
2026-06-18 20:46:44 +03:00