diff --git a/src/backends/speech_dispatcher.rs b/src/backends/speech_dispatcher.rs index 2ccea1d..cf50145 100644 --- a/src/backends/speech_dispatcher.rs +++ b/src/backends/speech_dispatcher.rs @@ -91,7 +91,7 @@ impl SpeechDispatcher { } } -impl Backend for SpeechDispatcher { +impl Backend for SpeechDispatcher { fn id(&self) -> Option { Some(BackendId::SpeechDispatcher(self.0.client_id())) } @@ -203,14 +203,14 @@ impl Backend for SpeechDispatcher { Ok(*is_speaking) } - fn voices(&self) -> Result>, Error> { + fn voices(&self) -> Result>, Error> { let rv = self .0 .list_synthesis_voices()? .iter() .cloned() .map(|v| Voice(Box::new(v))) - .collect::>>(); + .collect::>>(); Ok(rv) }