Clippy is a linter for Rust. We can use it to improve our code quality.
✔️ Solution
First, we need to define a sensible configuration for Clippy. We probably can ignore some warnings that don't apply to our code. On the other hand, all warnings that we want to enforce should be considered errors.
Then, we need to fix the existing errors so we can create a new CI workflow that runs Clippy every time. We should evaluate whether it is best to create a new workflow or add Clippy to an existing one.
📚 Context
Clippy is a linter for Rust. We can use it to improve our code quality.
✔️ Solution
First, we need to define a sensible configuration for Clippy. We probably can ignore some warnings that don't apply to our code. On the other hand, all warnings that we want to enforce should be considered errors.
Then, we need to fix the existing errors so we can create a new CI workflow that runs Clippy every time. We should evaluate whether it is best to create a new workflow or add Clippy to an existing one.
📈 Subtasks