aboutsummaryrefslogtreecommitdiff
path: root/src/model/webhook.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-13 08:22:24 -0800
committerAustin Hellyer <[email protected]>2016-11-13 08:22:24 -0800
commitf633d1c9603079f584f4f715b308b33c0750ad3a (patch)
treef77bc0b630731676be880b11c24b90cffef8c537 /src/model/webhook.rs
parentDon't overflow on message length check (diff)
downloadserenity-f633d1c9603079f584f4f715b308b33c0750ad3a.tar.xz
serenity-f633d1c9603079f584f4f715b308b33c0750ad3a.zip
Move the builders to the utils
The builders aren't a large enough portion of the library to deserve their own root-level module, so move them to the `utils` module. Additionally, split them into separate files, as the library will be receiving more builders and the single-file pattern was getting rather large.
Diffstat (limited to 'src/model/webhook.rs')
-rw-r--r--src/model/webhook.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/webhook.rs b/src/model/webhook.rs
index aaab2ab..caffe33 100644
--- a/src/model/webhook.rs
+++ b/src/model/webhook.rs
@@ -1,7 +1,7 @@
use serde_json::builder::ObjectBuilder;
use std::mem;
use super::{Message, Webhook};
-use ::builder::ExecuteWebhook;
+use ::utils::builder::ExecuteWebhook;
use ::client::http;
use ::prelude_internal::*;