You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style(rust): satisfy cargo fmt --check (fix red Build Check on main) (#84)
## Why
The **`Build Check`** gate (`cargo fmt --check`, rustfmt 1.8.0-stable)
is **red on `main`** — surfaced by CI on the unrelated docs PR #83, but
the nonconformity is in Rust source neither PR's feature work touches.
So it fails independently of any feature branch.
## What
Pure `cargo fmt` reformat — **same tokens, no logic change** (verified:
the diff is only line-wrapping of single-line block bodies and a long
3-pattern match arm):
| File | Change |
|---|---|
| `src/ast/visitor.rs` | expand single-line block bodies (`for … { f();
}`) to multi-line |
| `src/linter/mod.rs` | wrap the `ReceiveMessage \| AwaitWorker \|
CancelWorker` arm |
| `src/typechecker/mod.rs` | wrap the same 3-pattern arm |
`cargo fmt --check` exits **0** after this change.
## Scope note
Deliberately isolated from the bot-state surfacing in #83 (which stays
docs-only). This PR is just the formatting rot on `main`, so `Build
Check` goes green for everyone.
https://claude.ai/code/session_013wg3Mtq2QFhYi4XVw1Z6z7
---
_Generated by [Claude
Code](https://claude.ai/code/session_013wg3Mtq2QFhYi4XVw1Z6z7)_
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments