diff options
| author | Austin Hellyer <[email protected]> | 2016-11-25 20:06:47 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-25 20:06:47 -0800 |
| commit | adde653dc4797faf8094816da46f8e4430b33c98 (patch) | |
| tree | 229acc0e3d130bb44d53f09fef0716f2c16915af /src/utils/builder | |
| parent | Fix permission check on Message::delete (diff) | |
| download | serenity-adde653dc4797faf8094816da46f8e4430b33c98.tar.xz serenity-adde653dc4797faf8094816da46f8e4430b33c98.zip | |
Rename PublicChannel to GuildChannel
Diffstat (limited to 'src/utils/builder')
| -rw-r--r-- | src/utils/builder/edit_channel.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/builder/edit_channel.rs b/src/utils/builder/edit_channel.rs index 7225902..1fd1b5c 100644 --- a/src/utils/builder/edit_channel.rs +++ b/src/utils/builder/edit_channel.rs @@ -1,12 +1,12 @@ use serde_json::builder::ObjectBuilder; use std::default::Default; -/// A builder to edit a [`PublicChannel`] for use via one of a couple methods. +/// A builder to edit a [`GuildChannel`] for use via one of a couple methods. /// /// These methods are: /// /// - [`Context::edit_channel`] -/// - [`PublicChannel::edit`] +/// - [`GuildChannel::edit`] /// /// Defaults are not directly provided by the builder itself. /// @@ -22,8 +22,8 @@ use std::default::Default; /// ``` /// /// [`Context::edit_channel`]: ../client/struct.Context.html#method.edit_channel -/// [`PublicChannel`]: ../model/struct.PublicChannel.html -/// [`PublicChannel::edit`]: ../model/struct.PublicChannel.html#method.edit +/// [`GuildChannel`]: ../model/struct.GuildChannel.html +/// [`GuildChannel::edit`]: ../model/struct.GuildChannel.html#method.edit pub struct EditChannel(pub ObjectBuilder); impl EditChannel { |