Skip to content

chore: clippy 1.98 nits (prerequisite) - #130

Merged
lance0 merged 1 commit into
masterfrom
chore/clippy-1.98-nits
Aug 24, 2026
Merged

lance0 merged 1 commit into
masterfrom
chore/clippy-1.98-nits

Conversation

@lance0

@lance0 lance0 commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Prerequisite for the LAN-1114 and LAN-1222 drafts.

Current master fails cargo clippy -D warnings on rustc 1.98 (chunks_exact_to_as_chunks in MPLS parse, manual_flatten on stream-json event drain). Both later drafts previously copied these nits so hooks would pass; that misstated scope and would conflict if merged in sequence.

This PR is only:

  • src/probe/correlate.rs: as_chunks::<4>()
  • src/main.rs: mem::take instead of drain(..).collect()

Merge this first. Then #128 is lockfile-only and #129 is TUI/session-only. A lockfile-only or dirty-skip commit against master will still fail the local clippy hook until this lands.

as_chunks in MPLS parse; mem::take for stream-json event drain.
Prerequisite so LAN-1114 / LAN-1222 drafts stay scoped.
@lance0
lance0 marked this pull request as ready for review August 24, 2026 15:18
@lance0
lance0 merged commit 71085a8 into master Aug 24, 2026
5 checks passed
@lance0
lance0 deleted the chore/clippy-1.98-nits branch August 24, 2026 15:18
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