diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index eaa2e13..10f8d36 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,7 +7,7 @@ use std::fmt::{self, Display, Error as FormatError}; use websocket::result::WebSocketError; use ::client::gateway::GatewayError; use ::client::ClientError; -#[cfg(feature = "opus")] +#[cfg(feature = "voice")] use opus::Error as OpusError; #[cfg(feature="voice")] use ::ext::voice::VoiceError; |