style(engine): rustfmt — workers/pool.rs test module (gate fixup)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 16:32:14 +02:00
co-authored by Claude Fable 5
parent 3a3e7c72fe
commit 3a23378a88
+4 -3
View File
@@ -98,9 +98,10 @@ where
// loses capacity. The in-flight request is still lost
// (no result delivered) — re-enqueue is future work,
// see the module-level TODO (#843).
let result = std::panic::catch_unwind(
std::panic::AssertUnwindSafe(|| handler(work.payload)),
);
let result =
std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| {
handler(work.payload)
}));
match result {
Ok(resp) => {
if tx.send((resp, strategy)).is_err() {