aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-05-27 08:41:11 -0700
committerZeyla Hellyer <[email protected]>2017-05-27 08:41:11 -0700
commitddb2509556e9ccf0d845e3aa544bc9fb4dfcedfb (patch)
tree9a70075d2e38af97f03d8a1f307c4c10ce0d966d /src
parentFix GuildChannel::create_permission examples (diff)
downloadserenity-ddb2509556e9ccf0d845e3aa544bc9fb4dfcedfb.tar.xz
serenity-ddb2509556e9ccf0d845e3aa544bc9fb4dfcedfb.zip
Fix GuildChannel::create_permission anchor link
A link to model::permissions::SEND_MESSAGES was broken.
Diffstat (limited to 'src')
-rw-r--r--src/model/channel/guild_channel.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs
index 111dba2..93584b6 100644
--- a/src/model/channel/guild_channel.rs
+++ b/src/model/channel/guild_channel.rs
@@ -210,6 +210,7 @@ impl GuildChannel {
/// [Attach Files]: permissions/constant.ATTACH_FILES.html
/// [Manage Channels]: permissions/constant.MANAGE_CHANNELS.html
/// [Manage Webhooks]: permissions/constant.MANAGE_WEBHOOKS.html
+ /// [Send Messages]: permissions/constant.SEND_MESSAGES.html
/// [Send TTS Messages]: permissions/constant.SEND_TTS_MESSAGES.html
#[inline]
pub fn create_permission(&self, target: &PermissionOverwrite) -> Result<()> {