mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 07:09:37 +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() {
|
if let Some(callback) = callbacks.utterance_end.as_mut() {
|
||||||
let last_spoken_utterance = LAST_SPOKEN_UTTERANCE.lock().unwrap();
|
let last_spoken_utterance = LAST_SPOKEN_UTTERANCE.lock().unwrap();
|
||||||
if let Some(utterance_id) = last_spoken_utterance.get(&id) {
|
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