Commit 3c05860
ci: fmt under stable 1.96 to make rust-ci green (follow-up) (#42)
## 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/affine_gen.rs`,
`src/codegen/wasm_gen.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 65adbce commit 3c05860
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | | - | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments