From 6aacce2d73fa70964cdfe11fc47769d5660d3811 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 10 Mar 2022 12:58:56 -0600 Subject: [PATCH] Feature mismatch. --- speech-dispatcher/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speech-dispatcher/src/lib.rs b/speech-dispatcher/src/lib.rs index 3abc870..fd99e04 100644 --- a/speech-dispatcher/src/lib.rs +++ b/speech-dispatcher/src/lib.rs @@ -415,7 +415,7 @@ impl Connection { pub fn set_voice_type(&self, voice_type: VoiceType) -> Result<(), Error> { #[cfg(feature = "0.10.0")] let v = unsafe { spd_set_voice_type(*self.0, voice_type as i32) }; - #[cfg(not(feature = "0.10.0"))] + #[cfg(not(feature = "0.10"))] let v = unsafe { spd_set_voice_type(*self.0, voice_type as u32) }; c_int_to_result(v) }