Skip to content

chore: make backend pass clippy with strict warnings #6

@ubugeeei

Description

@ubugeeei

Finding

backend does not pass cargo clippy --all-targets -- -D warnings. These are mostly mechanical but block using clippy as a production gate.

Evidence

  • clippy reports redundant closures, collapsible if statements, type complexity, new_without_default, manual clamp, and unnecessary cast warnings.

Acceptance criteria

  • Resolve current clippy warnings in backend.
  • cargo clippy --all-targets -- -D warnings passes in backend.
  • Keep behavior equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions