Skip to content

fix(rs): address x % 2 clippy warning - #231

Merged
Neclow merged 1 commit into
sbhattlab:mainfrom
Neclow:fix/clippy-is-multiple-of
Nov 6, 2026
Merged

Neclow merged 1 commit into
sbhattlab:mainfrom
Neclow:fix/clippy-is-multiple-of

Conversation

@Neclow

@Neclow Neclow commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Recent clippy versions flag edges.len() % 2 == 0 in from_edges (manual_is_multiple_of). Use edges.len().is_multiple_of(2) instead, available since Rust 1.87.

@Neclow
Neclow merged commit 9f85837 into sbhattlab:main Nov 6, 2026
9 checks passed
@Neclow
Neclow deleted the fix/clippy-is-multiple-of branch November 6, 2026 17:49
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