aboutsummaryrefslogtreecommitdiff
path: root/src/voice/error.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-03-29 12:10:43 +0200
committeracdenisSK <[email protected]>2018-03-29 12:11:23 +0200
commit4c05e828d5191975ef1a5e1ac581b646a69d2c25 (patch)
treefb583f88a1e5d192651b399aca1839f3f58e661e /src/voice/error.rs
parentAdd a connection timeout (diff)
downloadserenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.tar.xz
serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.zip
Refactor imports/exports to use nested groups and better formatting
Diffstat (limited to 'src/voice/error.rs')
-rw-r--r--src/voice/error.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/voice/error.rs b/src/voice/error.rs
index b3a8194..3dd3127 100644
--- a/src/voice/error.rs
+++ b/src/voice/error.rs
@@ -1,6 +1,8 @@
use serde_json::{Error as JsonError, Value};
-use std::io::Error as IoError;
-use std::process::Output;
+use std::{
+ io::Error as IoError,
+ process::Output
+};
/// An error returned from the voice module.
// Errors which are not visible to the end user are hidden.