aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-11-14 20:41:03 +0100
committeracdenisSK <[email protected]>2018-11-14 20:41:03 +0100
commitbca1530a6cebafe028d4a3a58f332b7985d5229f (patch)
tree673cd0724948636285c809f407abd2e0ac04baac /src
parentMake `Region`s `Japan`-variant lowercase. (diff)
downloadserenity-bca1530a6cebafe028d4a3a58f332b7985d5229f.tar.xz
serenity-bca1530a6cebafe028d4a3a58f332b7985d5229f.zip
Fix imports in `create_channel`'s example
Diffstat (limited to 'src')
-rw-r--r--src/model/guild/guild_id.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/guild/guild_id.rs b/src/model/guild/guild_id.rs
index 4309349..88430a6 100644
--- a/src/model/guild/guild_id.rs
+++ b/src/model/guild/guild_id.rs
@@ -108,7 +108,8 @@ impl GuildId {
/// Create a voice channel in a guild with the name `test`:
///
/// ```rust,ignore
- /// use serenity::model::{ChannelType, GuildId};
+ /// use serenity::model::id::GuildId;
+ /// use serenity::model::channel::ChannelType;
///
/// let _channel = GuildId(7).create_channel("test", ChannelType::Voice, None);
/// ```