Skip to content

Fix clippy lints#45

Merged
Not-Nik merged 1 commit into
mozilla:mainfrom
Not-Nik:fix-clippy
May 5, 2026
Merged

Fix clippy lints#45
Not-Nik merged 1 commit into
mozilla:mainfrom
Not-Nik:fix-clippy

Conversation

@Not-Nik
Copy link
Copy Markdown
Collaborator

@Not-Nik Not-Nik commented May 5, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Straightforward clippy fix: debug_assert!(x != y)debug_assert_ne!(x, y) (clippy::nonminimal_bool / clippy::bool_assert_comparison-adjacent). The dedicated macro gives a better panic message on failure (prints both operands). No other instances of this pattern remain in the codebase.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@e320ffa). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #45   +/-   ##
=======================================
  Coverage        ?   67.95%           
=======================================
  Files           ?       25           
  Lines           ?     3074           
  Branches        ?     3074           
=======================================
  Hits            ?     2089           
  Misses          ?      797           
  Partials        ?      188           
Flag Coverage Δ
freebsd 67.95% <100.00%> (?)
linux 67.95% <100.00%> (?)
macos 67.95% <100.00%> (?)
windows 67.95% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Not-Nik Not-Nik merged commit 551858b into mozilla:main May 5, 2026
53 of 54 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.

3 participants