From a56baa9042831a6a96420be7cd57441b56967c03 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 5 Sep 2026 15:37:46 +0200 Subject: [PATCH] Let rustfmt have the assertion it reflowed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The closure taken down to `&dyn Operation` needed its call site re-wrapped, and I wrapped it by hand rather than letting rustfmt decide: it fits on one line at the workspace width. `cargo clippy` was run on the change and `cargo fmt --check` was not, which is the whole of how it got through — the two catch different things and CI runs both. Co-Authored-By: Claude Opus 5 (1M context) --- core/dr-pipeline/src/mask.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/dr-pipeline/src/mask.rs b/core/dr-pipeline/src/mask.rs index 29f752b..1c529b5 100644 --- a/core/dr-pipeline/src/mask.rs +++ b/core/dr-pipeline/src/mask.rs @@ -1519,8 +1519,7 @@ mod tests { ); } assert!( - ids.len() < global.len() - || global.iter().all(|op| local_means_something(op.as_ref())), + ids.len() < global.len() || global.iter().all(|op| local_means_something(op.as_ref())), "the filter dropped nothing, so either it is not running or the \ chain has nothing left that a layer cannot carry" );