mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-22 23:39:36 +00:00
Eliminate a Clippy warning.
This commit is contained in:
parent
f37133841a
commit
d97796fff7
|
@ -73,7 +73,7 @@ impl WinRT {
|
|||
if let Some(callback) = callbacks.utterance_end.as_mut() {
|
||||
let last_spoken_utterance = LAST_SPOKEN_UTTERANCE.lock().unwrap();
|
||||
if let Some(utterance_id) = last_spoken_utterance.get(&id) {
|
||||
callback(utterance_id.clone());
|
||||
callback(*utterance_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user