Skip to content

Fix clippy failure on Rust 1.98 - #3

Merged
Karib0u merged 1 commit into
mainfrom
fix-clippy-1-98
Aug 26, 2026
Merged

Karib0u merged 1 commit into
mainfrom
fix-clippy-1-98

Conversation

@Karib0u

@Karib0u Karib0u commented Aug 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

The CI build jobs fail during cargo clippy --workspace --all-targets -- -D warnings on Rust 1.98 because clippy::chunks-exact-to-as-chunks is now enabled by default.

Keep the existing chunks_exact calls because they intentionally preserve exact-size parsing and the suggested as_chunks API is unavailable at the declared Rust 1.87 MSRV. Add narrow, documented allows at the affected functions.

Verification

  • cargo fmt --all -- --check
  • cargo +1.98.0 clippy --workspace --all-targets -- -D warnings
  • Rust 1.87 workspace test build and 275 library tests passed before the long robustness test was interrupted to stop CPU use.

@Karib0u
Karib0u merged commit 8309d6c into main Aug 26, 2026
6 checks passed
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