From aab12ec36bda78121e1c4de4bc48822bd2b5d8a5 Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Sat, 5 Nov 2016 16:32:42 -0700 Subject: 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`. --- src/builder.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/builder.rs') 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)) } -- cgit v1.2.3