diff options
| author | acdenisSK <[email protected]> | 2018-11-14 20:41:03 +0100 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-11-14 20:41:03 +0100 |
| commit | bca1530a6cebafe028d4a3a58f332b7985d5229f (patch) | |
| tree | 673cd0724948636285c809f407abd2e0ac04baac | |
| parent | Make `Region`s `Japan`-variant lowercase. (diff) | |
| download | serenity-bca1530a6cebafe028d4a3a58f332b7985d5229f.tar.xz serenity-bca1530a6cebafe028d4a3a58f332b7985d5229f.zip | |
Fix imports in `create_channel`'s example
| -rw-r--r-- | src/model/guild/guild_id.rs | 3 |
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); /// ``` |