aboutsummaryrefslogtreecommitdiff
path: root/src/voice/error.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-09-18 17:48:52 -0700
committerZeyla Hellyer <[email protected]>2017-09-18 17:48:52 -0700
commitdae2cb77b407044f44a7a2790d93efba3891854e (patch)
treebef263c4490536cf8b56e988e71dd1aa43bc2696 /src/voice/error.rs
parentFix compiles of a variety of feature combinations (diff)
downloadserenity-dae2cb77b407044f44a7a2790d93efba3891854e.tar.xz
serenity-dae2cb77b407044f44a7a2790d93efba3891854e.zip
Apply rustfmt
Diffstat (limited to 'src/voice/error.rs')
-rw-r--r--src/voice/error.rs18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/voice/error.rs b/src/voice/error.rs
index a0bb11a..d402e54 100644
--- a/src/voice/error.rs
+++ b/src/voice/error.rs
@@ -8,20 +8,14 @@ use std;
pub enum VoiceError {
/// An indicator that an endpoint URL was invalid.
EndpointUrl,
- #[doc(hidden)]
- ExpectedHandshake,
- #[doc(hidden)]
- FindingByte,
- #[doc(hidden)]
- HostnameResolve,
- #[doc(hidden)]
- KeyGen,
+ #[doc(hidden)] ExpectedHandshake,
+ #[doc(hidden)] FindingByte,
+ #[doc(hidden)] HostnameResolve,
+ #[doc(hidden)] KeyGen,
/// An error occurred while checking if a path is stereo.
Streams,
- #[doc(hidden)]
- VoiceModeInvalid,
- #[doc(hidden)]
- VoiceModeUnavailable,
+ #[doc(hidden)] VoiceModeInvalid,
+ #[doc(hidden)] VoiceModeUnavailable,
/// An error occurred while running `youtube-dl`.
YouTubeDLRun(Output),
/// An error occurred while processing the JSON output from `youtube-dl`.