aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/guild_channel.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-06 11:25:28 -0700
committerZeyla Hellyer <[email protected]>2017-06-06 11:25:28 -0700
commit799038187d903a75d60f0c98d013ae87fb665d02 (patch)
treeb0d8ccff9a6e1fc4360a6eebfe5be2335d9936d4 /src/model/channel/guild_channel.rs
parentAdd User::direct_message example (diff)
downloadserenity-799038187d903a75d60f0c98d013ae87fb665d02.tar.xz
serenity-799038187d903a75d60f0c98d013ae87fb665d02.zip
Deprecate Client::login, add Client::new
Diffstat (limited to 'src/model/channel/guild_channel.rs')
-rw-r--r--src/model/channel/guild_channel.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs
index 5ce7031..4f47d28 100644
--- a/src/model/channel/guild_channel.rs
+++ b/src/model/channel/guild_channel.rs
@@ -415,7 +415,7 @@ impl GuildChannel {
/// ```rust,no_run
/// # use serenity::Client;
/// #
- /// # let mut client = Client::login("");
+ /// # let mut client = Client::new("");
/// #
/// use serenity::CACHE;
///
@@ -438,7 +438,7 @@ impl GuildChannel {
/// ```rust,no_run
/// # use serenity::Client;
/// #
- /// # let mut client = Client::login("");
+ /// # let mut client = Client::new("");
/// #
/// use serenity::CACHE;
/// use serenity::model::permissions;