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/create_message.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/create_message.rs')
| -rw-r--r-- | src/utils/builder/create_message.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/builder/create_message.rs b/src/utils/builder/create_message.rs index 9bbc461..8522130 100644 --- a/src/utils/builder/create_message.rs +++ b/src/utils/builder/create_message.rs @@ -3,7 +3,7 @@ use std::collections::BTreeMap; use std::default::Default; use super::CreateEmbed; -/// A builder to specify the contents of an [`http::create_message`] request, +/// A builder to specify the contents of an [`rest::create_message`] request, /// primarily meant for use through [`Context::send_message`]. /// /// There are two situations where different field requirements are present: @@ -31,7 +31,7 @@ use super::CreateEmbed; /// [`Context::send_message`]: ../../client/struct.Context.html#method.send_message /// [`content`]: #method.content /// [`embed`]: #method.embed -/// [`http::create_message`]: ../../client/http/fn.create_message.html +/// [`rest::create_message`]: ../../client/rest/fn.create_message.html pub struct CreateMessage(pub BTreeMap<String, Value>); impl CreateMessage { |