diff options
| author | Austin Hellyer <[email protected]> | 2016-11-25 08:33:15 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-25 08:33:15 -0800 |
| commit | e75f30b6dedf366d72d8d56b44fdbe191961fa72 (patch) | |
| tree | 46f2a507d0865078e352769729c756592368b88e /src/utils/builder/execute_webhook.rs | |
| parent | Allow compiling with only either cache or methods (diff) | |
| download | serenity-e75f30b6dedf366d72d8d56b44fdbe191961fa72.tar.xz serenity-e75f30b6dedf366d72d8d56b44fdbe191961fa72.zip | |
Rename the `http` module to `rest`
Diffstat (limited to 'src/utils/builder/execute_webhook.rs')
| -rw-r--r-- | src/utils/builder/execute_webhook.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/builder/execute_webhook.rs b/src/utils/builder/execute_webhook.rs index a434057..06bedf4 100644 --- a/src/utils/builder/execute_webhook.rs +++ b/src/utils/builder/execute_webhook.rs @@ -16,14 +16,14 @@ use std::default::Default; /// payload of [`Webhook::execute`]: /// /// ```rust,no_run -/// use serenity::client::http; +/// use serenity::client::rest; /// use serenity::model::Embed; /// use serenity::utils::Colour; /// /// let id = 245037420704169985; /// let token = "ig5AO-wdVWpCBtUUMxmgsWryqgsW3DChbKYOINftJ4DCrUbnkedoYZD0VOH1QLr-S3sV"; /// -/// let webhook = http::get_webhook_with_token(id, token) +/// let webhook = rest::get_webhook_with_token(id, token) /// .expect("valid webhook"); /// /// let website = Embed::fake(|e| e @@ -51,7 +51,7 @@ use std::default::Default; /// /// [`Webhook`]: ../model/struct.Webhook.html /// [`Webhook::execute`]: ../../model/struct.Webhook.html#method.execute -/// [`execute_webhook`]: ../client/http/fn.execute_webhook.html +/// [`execute_webhook`]: ../client/rest/fn.execute_webhook.html pub struct ExecuteWebhook(pub ObjectBuilder); impl ExecuteWebhook { |