Skip to content

Fix clippy lints breaking CI#27

Open
nh13 wants to merge 1 commit into
mainfrom
fix/nh_clippy-lints
Open

Fix clippy lints breaking CI#27
nh13 wants to merge 1 commit into
mainfrom
fix/nh_clippy-lints

Conversation

@nh13

@nh13 nh13 commented Mar 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix hidden_lifetime_in_impl lint in build_lookup by making the lifetime explicit on the return type
  • Fix manual_is_multiple_of lint by replacing count % 10_000_000 == 0 with count.is_multiple_of(10_000_000)

These lints were promoted to warn-by-default in a recent stable Rust release, causing CI to fail due to clippy -- -D warnings.

Test plan

  • cargo clippy -- -D warnings passes locally
  • CI passes on this PR

Newer stable Rust clippy introduced `hidden_lifetime_in_impl` and
`manual_is_multiple_of` lints which fail CI due to `-D warnings`.
@nh13 nh13 requested a review from tfenne as a code owner March 28, 2026 03:19
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.

2 participants