From ac4464db7be795c1c0a3a182e2a446474ae9f3de Mon Sep 17 00:00:00 2001 From: faumaray Date: Wed, 14 Oct 2026 18:02:30 +0300 Subject: [PATCH] Format the voelinctl stream watcher with rustfmt 1.94 The stream-types commit shortened a let-chain in tools/voelinctl/src/engine.rs that rustfmt 1.94 (the CI toolchain) lays out differently from nightly. `cargo fmt --check` over scripts/own-crates.sh now passes on 1.94. Co-Authored-By: Claude Sonnet 5.5 --- tools/voelinctl/src/engine.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/voelinctl/src/engine.rs b/tools/voelinctl/src/engine.rs index 6c60008..a6ef5ae 100644 --- a/tools/voelinctl/src/engine.rs +++ b/tools/voelinctl/src/engine.rs @@ -245,9 +245,8 @@ pub async fn run(args: GatewayArgs) -> Result<()> { out.print(format!("streams: {} by {nick} ({}) {:?}", s.id, s.streamer, s.name)); } if let Some(wanted) = &args.watch_streamer - && !watching && let Some(s) = streams - .iter() - .find(|s| nicknames.get(&s.streamer).is_some_and(|n| n == wanted)) + && !watching && let Some(s) = + streams.iter().find(|s| nicknames.get(&s.streamer).is_some_and(|n| n == wanted)) { watching = true; out.print(format!("watching {}", s.id));