Commit 798961d
ci: fmt under stable 1.96 to make rust-ci green (follow-up) (#47)
## Summary
Follow-up to the merged CI-green PR. With rust-ci now running, `cargo
fmt --all -- --check` fails on `main` under the CI toolchain (stable
rustfmt 1.96) — the toolchain-pin landed before the formatting fix. This
brings the Rust sources to rustfmt-clean so rust-ci goes green.
## Changes
- **Rust hygiene:** `cargo fmt` (`src/codegen/parser.rs`) so `cargo fmt
--all -- --check` passes under stable 1.96.
## RSR Quality Checklist
### Required
- [x] Tests pass (`cargo test --locked --all-targets`)
- [x] Code is formatted (`cargo fmt --all -- --check`)
- [x] Linter is clean (`cargo clippy --locked --all-targets -- -D
warnings`)
- [x] No banned language patterns
- [x] SPDX license headers present on modified files
- [x] No secrets, credentials, or `.env` files included
## Testing
Verified locally with the CI toolchain (rustc/clippy/rustfmt 1.96.0):
`cargo fmt --check`, `clippy -D warnings`, `cargo check --locked`,
`cargo test --locked` all pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
_Generated by [Claude
Code](https://claude.ai/code/session_01A6PSzJWpRxtzGDjUCEh7Mx)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 1eedb56 commit 798961d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
| |||
503 | 504 | | |
504 | 505 | | |
505 | 506 | | |
506 | | - | |
507 | | - | |
| 507 | + | |
| 508 | + | |
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
| |||
0 commit comments