Skip to content

Allow stable std::io APIs in Clippy configuration#844

Merged
demoray merged 1 commit into
mainfrom
bcaswell/allow-std-io-clippy
Jul 20, 2026
Merged

Allow stable std::io APIs in Clippy configuration#844
demoray merged 1 commit into
mainfrom
bcaswell/allow-std-io-clippy

Conversation

@demoray

@demoray demoray commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • allow clippy::std_instead_of_core because its suggested core::io replacements are unstable on stable Rust
  • use std::io::Error::other for compressed-length conversion failures
  • simplify compressed stream validation by copying decoded bytes into a temporary buffer

Testing

  • ./eng/lint.sh

@demoray
demoray merged commit f8e9234 into main Jul 20, 2026
10 checks passed
@demoray
demoray deleted the bcaswell/allow-std-io-clippy branch July 20, 2026 14:17
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.

2 participants