aboutsummaryrefslogtreecommitdiff
path: root/src/client/dispatch.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-05 23:10:44 -0700
committerAustin Hellyer <[email protected]>2016-11-05 23:10:44 -0700
commit37ee7883398ffb2b4e4e9e1652468f9afbb7b57b (patch)
treeca037c8d29163e50f2ce8e371c039ab6b2a7382d /src/client/dispatch.rs
parentConvert all doc anchors to named anchors (diff)
downloadserenity-37ee7883398ffb2b4e4e9e1652468f9afbb7b57b.tar.xz
serenity-37ee7883398ffb2b4e4e9e1652468f9afbb7b57b.zip
Add a prelude for userland
Users can now import all of a prelude via `use serenity::prelude::*;`, which should provide some helpful stuff. As such, the internal prelude is now named `serenity::prelude_internal`, and all internal uses have been adjusted.
Diffstat (limited to 'src/client/dispatch.rs')
-rw-r--r--src/client/dispatch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/dispatch.rs b/src/client/dispatch.rs
index 567bc6e..9a7fc2d 100644
--- a/src/client/dispatch.rs
+++ b/src/client/dispatch.rs
@@ -5,7 +5,7 @@ use super::login_type::LoginType;
use super::{STATE, Connection, Context};
use ::ext::framework::Framework;
use ::model::{ChannelId, Event, Message};
-use ::prelude::*;
+use ::prelude_internal::*;
macro_rules! handler {
($field:ident, $event_store:ident) => {