Skip to content

fix(clippy): allow chunks_exact_to_as_chunks (CI rust 1.98, MSRV 1.85) - #159

Closed
cunninghamcard-bit wants to merge 1 commit into
arcships:masterfrom
cunninghamcard-bit:fix/clippy-198
Closed

fix(clippy): allow chunks_exact_to_as_chunks (CI rust 1.98, MSRV 1.85)#159
cunninghamcard-bit wants to merge 1 commit into
arcships:masterfrom
cunninghamcard-bit:fix/clippy-198

Conversation

@cunninghamcard-bit

Copy link
Copy Markdown
Contributor

CI's Rust 1.98 clippy added chunks_exact_to_as_chunks, which fails -D warnings on aimux-core/src/trace/hash.rs and currently breaks every PR's Rust core job. The suggested as_chunks::<8>() stabilized in Rust 1.88, above the workspace MSRV of 1.85, so this follows the existing precedent (the 1.97 collapsible_if allowance) and adds a scoped #[allow] with a note to drop it once the MSRV moves past 1.88.

… is 1.85)

The 1.98 lint suggests as_chunks::<8>(), which stabilized in 1.88 and is
therefore unavailable at the workspace MSRV of 1.85. Same pattern as the
1.97 collapsible_if allowance.
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