Skip to content

chore: Fix clippy warnings - #3120

Merged
trunk-io[bot] merged 1 commit into
mainfrom
fix-cargo-clippy
Aug 11, 2026
Merged

chore: Fix clippy warnings#3120
trunk-io[bot] merged 1 commit into
mainfrom
fix-cargo-clippy

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated clippy fixes applied by CI

@trunk-io

trunk-io Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

😎 Merged successfully - details.

Copy link
Copy Markdown
Collaborator

No issues found. This is a mechanical clippy cleanup with no behavior change: the seqlock_begin_if_even / seqlock_end bodies are wrapped in explicit unsafe {} blocks (edition-2024 unsafe_op_in_unsafe_fn) with the Release fences still executing unconditionally after the volatile writes; cur % 2 == 0 becomes cur.is_multiple_of(2); the two _register_host / GPU_BUF_SIZES nested if lets become let-chains guarding the same combined conditions; and the test swaps &[state.clone()] for std::slice::from_ref(&state), which still leaves state valid for the subsequent is_frozen() assertions.


🤖 This is a fully automated review by Claude (Claude Code). No human has vetted this comment; please treat it as advisory.

Generated by Claude Code


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor Author

@github-actions[bot] the Trunk merge queue failed for this PR.

See the Trunk merge-status comment for details.

Posted as a new comment so GitHub sends an email — Trunk's sticky comment is edited in place and won't trigger a notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant