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/message_builder.rs | |
| 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/message_builder.rs')
| -rw-r--r-- | src/utils/message_builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/message_builder.rs b/src/utils/message_builder.rs index a9a88ae..e30db05 100644 --- a/src/utils/message_builder.rs +++ b/src/utils/message_builder.rs @@ -53,7 +53,7 @@ impl MessageBuilder { self.0 } - /// Mentions the [`PublicChannel`] in the built message. + /// Mentions the [`GuildChannel`] in the built message. /// /// This accepts anything that converts _into_ a [`ChannelId`]. Refer to /// `ChannelId`'s documentation for more information. @@ -62,7 +62,7 @@ impl MessageBuilder { /// how this is formatted. /// /// [`ChannelId`]: ../model/struct.ChannelId.html - /// [`PublicChannel`]: ../model/struct.PublicChannel.html + /// [`GuildChannel`]: ../model/struct.GuildChannel.html /// [Display implementation]: ../model/struct.ChannelId.html#method.fmt-1 pub fn channel<C: Into<ChannelId>>(mut self, channel: C) -> Self { self.0.push_str(&format!("{}", channel.into())); |