Clippy fix.

This commit is contained in:
laurent
2025-08-25 09:30:48 +02:00
parent 7d1e4b703a
commit 9c6b2675b3

View File

@@ -204,6 +204,7 @@ impl Model {
} }
moshi::asr::AsrMsg::EndWord { stop_time, .. } => { moshi::asr::AsrMsg::EndWord { stop_time, .. } => {
printed_eot = false; printed_eot = false;
#[allow(clippy::collapsible_if)]
if self.timestamps { if self.timestamps {
if let Some((word, start_time)) = last_word.take() { if let Some((word, start_time)) = last_word.take() {
println!("[{start_time:5.2}-{stop_time:5.2}] {word}"); println!("[{start_time:5.2}-{stop_time:5.2}] {word}");