-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Description
Running cargo clippy -- -D warnings currently produces several warnings across the codebase. Fix all of them so we can enforce clippy as a hard CI gate.
Requirements
- Run
cargo clippy -- -D warningsand fix every warning - Do not suppress warnings with
#[allow(...)]unless absolutely necessary — fix the root cause - Add clippy enforcement to CI so it never regresses
- Categories to fix: needless borrows, redundant clones, unused variables, match simplifications
Suggested Execution
- Branch:
git checkout -b fix/clippy-warnings - Run
cargo clippy -- -D warnings 2>&1 | tee clippy.txt - Fix each warning category by category
- Re-run until zero warnings
- Update CI yml to run
cargo clippy -- -D warnings - Commit:
fix: resolve all clippy warnings
Acceptance Criteria
-
cargo clippy -- -D warningsexits with code 0 - No
#[allow(...)]suppressions added without comment explaining why - CI updated to enforce clippy
- Zero regressions in existing tests
Reactions are currently unavailable