Skip to content

fix: resolve 104 clippy::pedantic warnings (175→71)#138

Merged
ajianaz merged 2 commits into
developfrom
fix/clippy-pedantic
Jun 2, 2026
Merged

fix: resolve 104 clippy::pedantic warnings (175→71)#138
ajianaz merged 2 commits into
developfrom
fix/clippy-pedantic

Conversation

@ajianaz
Copy link
Copy Markdown
Collaborator

@ajianaz ajianaz commented Jun 2, 2026

What

Auto-fix 104 of 175 clippy::pedantic warnings using cargo clippy --fix.

Remaining (71)

Will be addressed in follow-up PRs:

  • format_push_string (28) — needs manual write! conversion
  • assigning_clones (11) — needs manual clone_from()
  • too_many_lines (4) — function split or allow
  • float_cmp (4) — test assertions, allow
  • cast_* (4) — intentional casts, allow
  • manual_let_else (4) — pattern conversion
  • misc (16)

Verification

  • ✅ 224 tests pass
  • cargo clippy --all-targets -- -D warnings clean
  • cargo fmt --all -- --check clean

Partially closes #84

Machine-applicable fixes by cargo clippy --fix:
- format string interpolation (variables inline)
- redundant closures
- unnecessary raw string hashes
- missing doc backticks
- if-let instead of single-pattern match
- Clone::clone → clone_from suggestions
- trivially_copy_pass_by_ref
- format_collect → join
- etc.

Closes #84 (partial)
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-cli · BYOK · MIT

@ajianaz ajianaz merged commit 853de51 into develop Jun 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔧 156 clippy pedantic warnings suppressed

1 participant