aboutsummaryrefslogtreecommitdiff
path: root/src/client/mod.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/client/mod.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/client/mod.rs')
-rw-r--r--src/client/mod.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 9dfaa10..b1d0f4e 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -26,9 +26,11 @@ mod dispatch;
mod error;
mod event_handler;
-pub use self::context::Context;
-pub use self::error::Error as ClientError;
-pub use self::event_handler::EventHandler;
+pub use self::{
+ context::Context,
+ error::Error as ClientError,
+ event_handler::EventHandler
+};
// Note: the following re-exports are here for backwards compatibility
pub use gateway;