aboutsummaryrefslogtreecommitdiff
path: root/src/constants.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/constants.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/constants.rs')
-rw-r--r--src/constants.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs
index d485b5b..e5190e0 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,4 +1,4 @@
-use ::prelude::*;
+use ::prelude_internal::*;
/// The base URI for the API.
pub const API_BASE: &'static str = "https://discordapp.com/api/v6";