Fix Rust 1.98 chunk lint - #349
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n\nFixes the four pre-existing Rust 1.98 Clippy failures currently breaking the hosted PR gate on main.\n\n## Changes\n\n- replace constant-size chunks_exact(2) with as_chunks::<2>().0.iter() in Cursor auth UTF-16 decoding\n- same in Windsurf JSON blob decoding\n- same in Codex Desktop PowerShell UTF-16 round-trip test\n- replace chunks_exact(4) with as_chunks::<4>().0.iter() in tray RGBA test\n\nThese are Clippy-prescribed mechanical equivalents with no behavior change.\n\n## Validation\n\n- Confirmed all four failing sites already exist on origin/main\n- Local cargo-clippy component is not installed, so hosted CI is the authoritative Clippy gate\n- cargo check attempt was interrupted by the intermittent local CodexPro connector, not a returned compiler failure\n\nThis is intentionally separate from PR #348 so the Claude credential-consent bugfix remains focused.