Summary
cargo fmt --all -- --check fails on main, blocking the rustfmt job in CI for every run (including Dependabot PR CI).
Where
crates/beyonder-gpu/src/renderer.rs:2923
The method-chained self.running_shape_at.get(...).is_some_and(|t| { ... }) block is formatted multi-line but rustfmt wants the chain collapsed onto self.running_shape_at.get(&block.id).is_some_and(|t| { ... }).
Diff rustfmt wants
let throttle_ok = is_streaming
- && self
- .running_shape_at
- .get(&block.id)
- .is_some_and(|t| {
+ && self.running_shape_at.get(&block.id).is_some_and(
+ |t| {
t.elapsed().as_millis() < RUNNING_RESHAPE_MIN_MS
- });
+ },
+ );
Fix
Run locally:
Then commit the result. That should unblock every downstream CI run.
Evidence
Summary
cargo fmt --all -- --checkfails on main, blocking therustfmtjob in CI for every run (including Dependabot PR CI).Where
crates/beyonder-gpu/src/renderer.rs:2923The method-chained
self.running_shape_at.get(...).is_some_and(|t| { ... })block is formatted multi-line but rustfmt wants the chain collapsed ontoself.running_shape_at.get(&block.id).is_some_and(|t| { ... }).Diff rustfmt wants
Fix
Run locally:
Then commit the result. That should unblock every downstream CI run.
Evidence
Diff in /home/runner/work/beyond-tty/beyond-tty/crates/beyonder-gpu/src/renderer.rs:2923