mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2025-12-22 19:09:57 +00:00
Clippy fix. (#122)
This commit is contained in:
@@ -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}");
|
||||
|
||||
Reference in New Issue
Block a user