diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/model/guild/emoji.rs | 2 | ||||
| -rw-r--r-- | src/model/mod.rs | 1 | ||||
| -rw-r--r-- | src/model/webhook.rs | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/model/guild/emoji.rs b/src/model/guild/emoji.rs index a4612f0..23a174d 100644 --- a/src/model/guild/emoji.rs +++ b/src/model/guild/emoji.rs @@ -8,7 +8,7 @@ use std::mem; #[cfg(all(feature = "cache", feature = "model"))] use super::super::ModelError; #[cfg(all(feature = "cache", feature = "model"))] -use super::super::GuildId; +use super::super::id::GuildId; #[cfg(all(feature = "cache", feature = "model"))] use {CACHE, http}; diff --git a/src/model/mod.rs b/src/model/mod.rs index 6ecf343..5e35e92 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -42,7 +42,6 @@ pub use self::permissions::Permissions; use internal::prelude::*; use parking_lot::RwLock; -use self::id::GuildId; use self::utils::*; use serde::de::Visitor; use std::collections::HashMap; diff --git a/src/model/webhook.rs b/src/model/webhook.rs index 8b9d0f2..0d6b7c9 100644 --- a/src/model/webhook.rs +++ b/src/model/webhook.rs @@ -1,6 +1,5 @@ //! Webhook model and implementations. -use super::channel::Message; use super::id::{ChannelId, GuildId, WebhookId}; use super::user::User; @@ -11,6 +10,8 @@ use internal::prelude::*; #[cfg(feature = "model")] use std::mem; #[cfg(feature = "model")] +use super::channel::Message; +#[cfg(feature = "model")] use {http, utils}; /// A representation of a webhook, which is a low-effort way to post messages to |