chore(rust): use same params for clippy as the CI + correct clippy warnings

This commit is contained in:
Edouard Vanbelle
2026-04-27 09:29:45 +02:00
parent 30fd3cc488
commit 3a315ae75d
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ Database setup: `docker compose up -d postgres` — schema is applied automatica
Always run these before committing, in this order:
```bash
cargo fmt --all # Auto-format
cargo clippy -- -D warnings # Lint (must pass with zero warnings)
cargo fmt --all # Auto-format
cargo clippy --all-features --all-targets -- -D warnings # Lint (must pass with zero warnings)
```
CI enforces both — commits that fail either check will not merge.