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 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-14 18:02:30 +03:00
1 parent 6c1898bf5a
commit ac4464db7b
1 file changed
+2 -3
+2 -3
View File
@@ -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));