aboutsummaryrefslogtreecommitdiff
path: root/src/builder.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/builder.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/builder.rs')
-rw-r--r--src/builder.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/builder.rs b/src/builder.rs
index bf228c5..ccaefb9 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -215,7 +215,7 @@ impl EditChannel {
///
/// This is for [voice] channels only.
///
- /// [voice]: ../model/enum.ChannelType.html#Voice.v
+ /// [voice]: ../model/enum.ChannelType.html#variant.Voice
pub fn bitrate(self, bitrate: u64) -> Self {
EditChannel(self.0.insert("bitrate", bitrate))
}
@@ -238,7 +238,7 @@ impl EditChannel {
///
/// This is for [text] channels only.
///
- /// [text]: ../model/enum.ChannelType.html#Text.v
+ /// [text]: ../model/enum.ChannelType.html#variant.Text
pub fn topic(self, topic: &str) -> Self {
EditChannel(self.0.insert("topic", topic))
}
@@ -247,7 +247,7 @@ impl EditChannel {
///
/// This is for [voice] channels only.
///
- /// [voice]: ../model/enum.ChannelType.html#Voice.v
+ /// [voice]: ../model/enum.ChannelType.html#variant.Voice
pub fn user_limit(self, user_limit: u64) -> Self {
EditChannel(self.0.insert("user_limit", user_limit))
}