1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-23 03:19:38 +00:00

Eliminate a Clippy warning.

This commit is contained in:
Nolan Darilek 2020-11-17 16:03:03 -06:00
parent f37133841a
commit d97796fff7

View File

@ -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);
}
}
}