aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-01 10:49:00 -0800
committerAustin Hellyer <[email protected]>2016-12-01 10:49:00 -0800
commit0113bc80d68823695f41fcbba06768fa9408098b (patch)
tree8f7dfbf358d8bb5cb4010e026ea634e2df46ce40 /src/error.rs
parentSimplify colour macro (diff)
downloadserenity-0113bc80d68823695f41fcbba06768fa9408098b.tar.xz
serenity-0113bc80d68823695f41fcbba06768fa9408098b.zip
Fix a typo
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs2
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;