You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style(rust-cli): fix clippy 1.97 + rustfmt for CI green
CI (Rust 1.97) failed two checks on this branch:
- rustfmt: new test files + the Obliterate executor arm needed formatting.
- clippy -D warnings: unneeded_wildcard_pattern (field: _ redundant with ..)
in commands.rs (Chmod/Chown) and parser.rs (External/Touch), which clippy
1.97 newly errors on; plus a pre-existing let_and_return in the ${VAR:=default}
expansion path.
Fixes:
- cargo fmt across the crate (new tests + executable.rs).
- Remove redundant bindings where already covers them.
- Inline the let-and-return in AssignDefault expansion (behavior unchanged).
Verified against CI's exact toolchain: cargo +1.97.0 clippy --all-targets
--all-features -- -D warnings is clean; cargo +1.97.0 fmt --check has 0 diffs.
Full lib suite (317) + obliterate RMO tests (6) still green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KfgJznd6jzSeDYsSXGAXkU
0 commit comments