Collapse a double blank line rustfmt rejects - #1214
Conversation
`cargo fmt --all -- --check` fails on lance-graph-ogar/src/lib.rs:648 — two consecutive blank lines where rustfmt's blank_lines_upper_bound allows one. It reddens every consumer whose CI checks this repo out beside its own and runs a workspace-wide fmt check (found from AdaWorldAPI/q2#152, whose own sources were already clean). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012wrzeZAdwGYTCKoxamwQht
|
Warning Review limit reachedNext included review available in 1 minute. View limit detailsLimit details: You’ve used the included review currently available. Your 60 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (1)
Comment |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_9f753340-3b21-45eb-9bcb-b396878af58f) |
cargo fmt --all -- --checkfails oncrates/lance-graph-ogar/src/lib.rs:648— two consecutive blank lines where rustfmt'sblank_lines_upper_boundallows one. One deleted line; no behaviour change.Why it matters beyond this repo
Consumers whose CI checks this repo out beside their own and runs a workspace-wide
cargo fmt --all -- --checkinherit the failure. It was found from AdaWorldAPI/q2#152, whose own sources were already clean — that PR'sRustfmt (check)step reports the diff at this path and cannot go green until this lands onmain, because q2's workflow checks this repository out with noref:and therefore reads the default branch.Verification
rustfmt --edition 2021 --check crates/lance-graph-ogar/src/lib.rs→ clean (was a 1-line diff).cargo fmt --all -- --checkacross this workspace → 0 diffs.Board hygiene
No type, plan, deliverable, or epiphany is added — this is a one-line formatting fix, so it generates none of the board obligations.
🤖 Generated with Claude Code
https://claude.ai/code/session_012wrzeZAdwGYTCKoxamwQht
Generated by Claude Code