Skip to content

Commit f4016a8

Browse files
Clippy fix. (#122)
1 parent 7d1e4b7 commit f4016a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stt-rs/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ impl Model {
204204
}
205205
moshi::asr::AsrMsg::EndWord { stop_time, .. } => {
206206
printed_eot = false;
207+
#[allow(clippy::collapsible_if)]
207208
if self.timestamps {
208209
if let Some((word, start_time)) = last_word.take() {
209210
println!("[{start_time:5.2}-{stop_time:5.2}] {word}");

0 commit comments

Comments
 (0)