1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-12-02 14:49:37 +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);
}
}
}