Skip to content

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

Open
demoray wants to merge 1 commit into
mainfrom
bcaswell/allow-std-io-clippy
Open

Allow stable std::io APIs in Clippy configuration#844
demoray wants to merge 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

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