From be9e4592ec2fd11e3f959450892f06acd20eb2c0 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 10 Mar 2022 13:00:17 -0600 Subject: [PATCH] And another... --- 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 fd99e04..ca334ff 100644 --- a/speech-dispatcher/src/lib.rs +++ b/speech-dispatcher/src/lib.rs @@ -413,7 +413,7 @@ impl Connection { } pub fn set_voice_type(&self, voice_type: VoiceType) -> Result<(), Error> { - #[cfg(feature = "0.10.0")] + #[cfg(feature = "0.10")] let v = unsafe { spd_set_voice_type(*self.0, voice_type as i32) }; #[cfg(not(feature = "0.10"))] let v = unsafe { spd_set_voice_type(*self.0, voice_type as u32) };