Eliminate a Clippy warning.

This commit is contained in:
Nolan Darilek 2020-11-17 16:03:03 -06:00
parent f37133841a
commit d97796fff7
1 changed files with 1 additions and 1 deletions

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