Repository navigation
chore: cargo fmt - #36
Merged
Merged
Conversation
Member
Author
|
This change is part of the following stack:
Change managed by git-spice. |
This was referenced Aug 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR brings the repository back into alignment with rustfmt by applying cargo fmt changes only, so subsequent PRs in the stack won’t carry unrelated formatting noise and make check-rust can pass formatting checks.
Changes:
- Reformatted Rust source in
src/lib.rs(import grouping, line wrapping, indentation) without altering logic. - Rewrapped Criterion benchmark macro invocation in
benches/bench.rsforrustfmtcompliance.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/lib.rs |
Rustfmt-only reflow of imports and several multi-line expressions/asserts for consistent formatting. |
benches/bench.rs |
Rustfmt-only reformat of criterion_group! invocation into the standard multi-line style. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
mailletf
force-pushed
the
chore/remove-dead-code
branch
from
August 25, 2026 14:45
ae1ed30 to
f5d7af3
Compare
mailletf
force-pushed
the
chore/rustfmt
branch
from
August 25, 2026 14:45
bad9038 to
3b99627
Compare
mailletf
force-pushed
the
chore/rustfmt
branch
from
September 1, 2026 18:19
3b99627 to
7662f4f
Compare
mailletf
force-pushed
the
chore/remove-dead-code
branch
2 times, most recently
from
September 1, 2026 18:33
5d882aa to
2acbe28
Compare
mailletf
force-pushed
the
chore/rustfmt
branch
from
September 1, 2026 18:33
7662f4f to
0f68dc4
Compare
The tree has been drifting from rustfmt for a while, so `make check-rust` fails on formatting alone and every code change has to dodge unrelated reformatting in its diff. Run cargo fmt once, on its own, so later diffs stay about their own change. Pure formatting: no logic, no renames, no reordering beyond import sorting. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
mailletf
force-pushed
the
chore/remove-dead-code
branch
from
September 1, 2026 18:54
2acbe28 to
db95577
Compare
mailletf
force-pushed
the
chore/rustfmt
branch
from
September 1, 2026 18:54
0f68dc4 to
2633fa6
Compare
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.
Problem
The tree had been drifting from rustfmt (14 diffs at
c4a9e30), somake check-rustfails on formatting alone and every code change has to dodge unrelated reformatting in its diff.Fix
Run
cargo fmtonce, on its own. Every PR below this one in the stack was deliberately kept at the pre-existing baseline so its diff stays about its own change; from here up the tree is clean.Pure formatting — no logic, no renames, no reordering beyond import sorting.