Skip to content

Make Clippy warning-free and run it in CI - #37

Merged
veljkozz merged 2 commits into
masterfrom
clippy-cleanup
Sep 4, 2026
Merged

veljkozz merged 2 commits into
masterfrom
clippy-cleanup

Conversation

@veljkozz

@veljkozz veljkozz commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • apply Clippy guidance across all code (library, binaries, tests, examples)
  • add Histogram::is_empty
  • enforce cargo clippy --all-targets -- -D warnings in CI

Apply current lint guidance across library code, binaries, tests, and
examples while preserving behavior.

Add Histogram::is_empty using the recorded sample count and test its
behavior before recording, after recording, and after reset.

Assisted-by: Cursor:gpt-5.6-sol
Run Clippy across all targets and reject warnings so the clean
baseline cannot regress.

Assisted-by: Cursor:gpt-5.6-sol
@veljkozz veljkozz changed the title Make Clippy warning-free across all targets Make Clippy warning-free and run it in CI Sep 4, 2026
@veljkozz
veljkozz requested a review from natoscott September 4, 2026 12:48
@veljkozz
veljkozz merged commit 904450d into master Sep 4, 2026
2 checks passed
@veljkozz
veljkozz deleted the clippy-cleanup branch September 4, 2026 12:48
@veljkozz veljkozz mentioned this pull request Sep 4, 2026
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.

1 participant