aboutsummaryrefslogtreecommitdiff
path: root/src/client/gateway/shard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/gateway/shard.rs')
-rw-r--r--src/client/gateway/shard.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/gateway/shard.rs b/src/client/gateway/shard.rs
index 4ebe26f..61bcafc 100644
--- a/src/client/gateway/shard.rs
+++ b/src/client/gateway/shard.rs
@@ -86,12 +86,12 @@ impl Shard {
///
/// ```rust,ignore
/// use serenity::client::gateway::Shard;
- /// use serenity::client::{LoginType, http};
+ /// use serenity::client::{LoginType, rest};
/// use std::env;
///
/// let token = env::var("DISCORD_BOT_TOKEN").expect("Token in environment");
/// // retrieve the gateway response, which contains the URL to connect to
- /// let gateway = http::get_gateway().expect("Valid gateway response").url;
+ /// let gateway = rest::get_gateway().expect("Valid gateway response").url;
/// let shard = Shard::new(&gateway, &token, None, LoginType::Bot)
/// .expect("Working shard");
///