From f4016a884410dad9eba60d8ba4077684a5e5ec01 Mon Sep 17 00:00:00 2001 From: Laurent Mazare Date: Mon, 25 Aug 2025 09:33:07 +0200 Subject: [PATCH] Clippy fix. (#122) --- stt-rs/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/stt-rs/src/main.rs b/stt-rs/src/main.rs index 71faacb..cb84568 100644 --- a/stt-rs/src/main.rs +++ b/stt-rs/src/main.rs @@ -204,6 +204,7 @@ impl Model { } moshi::asr::AsrMsg::EndWord { stop_time, .. } => { printed_eot = false; + #[allow(clippy::collapsible_if)] if self.timestamps { if let Some((word, start_time)) = last_word.take() { println!("[{start_time:5.2}-{stop_time:5.2}] {word}");