Repository navigation
Conversation
No functional change. `cargo clippy --all-targets --all-features -- -D warnings` now passes and `cargo fmt --check` is clean, so follow-up changes can be reviewed against a warning-free baseline. - Drop redundant `return` statements and `use` lines of extern crates, and needless borrows and `into_iter()` calls. - Add a default `ChunkBuffer::is_empty` (clippy's `len_without_is_empty`); existing implementations keep compiling. - Name the long types clippy flags as too complex: `HeapItem` in the merger, `ChunkSortError` and `SortResult` in the sorter. - Tests: `assert!` instead of `assert_eq!` with booleans, and `io::Error::other`. - Reformat with the repository's `rustfmt.toml`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
No functional change.
cargo clippy --all-targets --all-features -- -D warningsnow passes andcargo fmt --checkis clean, so follow-up changes can be reviewed against a warning-free baseline.returnstatements anduselines of extern crates, and needless borrows andinto_iter()calls.ChunkBuffer::is_empty(clippy'slen_without_is_empty); existing implementations keep compiling.HeapItemin the merger,ChunkSortErrorandSortResultin the sorter.assert!instead ofassert_eq!with booleans, andio::Error::other.rustfmt.toml.