aboutsummaryrefslogtreecommitdiff
path: root/src/model/permissions.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-05 16:32:42 -0700
committerAustin Hellyer <[email protected]>2016-11-05 16:32:42 -0700
commitaab12ec36bda78121e1c4de4bc48822bd2b5d8a5 (patch)
tree5d58844781983b6c43003838ad7a0fac0f03bdbe /src/model/permissions.rs
parentSupport major parameters in ratelimits (diff)
downloadserenity-aab12ec36bda78121e1c4de4bc48822bd2b5d8a5.tar.xz
serenity-aab12ec36bda78121e1c4de4bc48822bd2b5d8a5.zip
Fix doc links to enum variants
Most of the docs were linking to `enum.EnumName.html#VariantName.v`, which should have been linking to `enum.EnumName.html#variant.VariantName`.
Diffstat (limited to 'src/model/permissions.rs')
-rw-r--r--src/model/permissions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/permissions.rs b/src/model/permissions.rs
index 3bcf219..b14ab82 100644
--- a/src/model/permissions.rs
+++ b/src/model/permissions.rs
@@ -224,7 +224,7 @@ bitflags! {
/// If this is disabled, then [`Member`]s must use push-to-talk.
///
/// [`Member`]: ../struct.Member.html
- /// [voice]: ../enum.ChannelType.html#Voice.v
+ /// [voice]: ../enum.ChannelType.html#variant.Voice
const USE_VAD = 1 << 25,
/// Allows members to change their own nickname in the guild.
const CHANGE_NICKNAME = 1 << 26,