Problem
On upstream commit a3768d0, cargo clippy --workspace --locked -- -D warnings fails with Rust 1.98.1 on the nested if in Apps Script JSON file selection (helpers/script.rs). The full unit suite passes.
Fix
Express the existing appsscript.json-only condition as a match guard. Other JSON files continue to be ignored. No lint suppression or behavior change.
Validation
Reproduce the unmodified Clippy failure; rerun strict Clippy, formatting and the full workspace tests after the fix. This small prerequisite lets the independently tracked workflow improvements be verified on current stable Rust.
Implementation PR: googleworkspace#930
Problem
On upstream commit a3768d0,
cargo clippy --workspace --locked -- -D warningsfails with Rust 1.98.1 on the nestedifin Apps Script JSON file selection (helpers/script.rs). The full unit suite passes.Fix
Express the existing appsscript.json-only condition as a match guard. Other JSON files continue to be ignored. No lint suppression or behavior change.
Validation
Reproduce the unmodified Clippy failure; rerun strict Clippy, formatting and the full workspace tests after the fix. This small prerequisite lets the independently tracked workflow improvements be verified on current stable Rust.
Implementation PR: googleworkspace#930