From 30be7cd632a2768c6e60f6f23728ff8a018a1215 Mon Sep 17 00:00:00 2001 From: atlas Date: Sat, 6 Jun 2026 13:49:53 +0200 Subject: [PATCH] fix(dashboard): rustfmt api_operator_inbox match expression The operator-inbox handler landed with an unformatted long match line (`match state.coord.broker.unread_for_recipient(...)`) that rustfmt wants wrapped. It was force-merged during the CI outage so the formatting gate didn't catch it, and now the treefmt check fails for every PR based on current main. Pure formatting, no logic change. --- hive-c0re/src/dashboard.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hive-c0re/src/dashboard.rs b/hive-c0re/src/dashboard.rs index bc899b71..d452217e 100644 --- a/hive-c0re/src/dashboard.rs +++ b/hive-c0re/src/dashboard.rs @@ -1746,7 +1746,11 @@ async fn api_reminders(State(state): State) -> Response { /// in_reply_to, file_refs }] }`. async fn api_operator_inbox(State(state): State) -> Response { const INBOX_LIMIT: u64 = 100; - match state.coord.broker.unread_for_recipient("operator", INBOX_LIMIT) { + match state + .coord + .broker + .unread_for_recipient("operator", INBOX_LIMIT) + { Ok(messages) => { let items: Vec = messages .into_iter()