diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-10 12:42:17 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-10 12:42:17 -0800 |
| commit | 8f5dc8884044fccf09855d17eee342b71fe18503 (patch) | |
| tree | 1ccb8313442810e8e9e9e71e628d84b818af1254 /src/model/webhook.rs | |
| parent | Add `Client::user_id` (diff) | |
| download | serenity-8f5dc8884044fccf09855d17eee342b71fe18503.tar.xz serenity-8f5dc8884044fccf09855d17eee342b71fe18503.zip | |
Fix no-model compiler warnings
Diffstat (limited to 'src/model/webhook.rs')
| -rw-r--r-- | src/model/webhook.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 |