diff options
| author | Austin Hellyer <[email protected]> | 2016-11-05 16:32:42 -0700 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-05 16:32:42 -0700 |
| commit | aab12ec36bda78121e1c4de4bc48822bd2b5d8a5 (patch) | |
| tree | 5d58844781983b6c43003838ad7a0fac0f03bdbe /src/model/mod.rs | |
| parent | Support major parameters in ratelimits (diff) | |
| download | serenity-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/mod.rs')
| -rw-r--r-- | src/model/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index 8478cc2..2212747 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -100,8 +100,8 @@ pub enum Channel { /// A [text] or [voice] channel within a [`Guild`]. /// /// [`Guild`]: struct.Guild.html - /// [text]: enum.ChannelType.html#Text.v - /// [voice]: enum.ChannelType.html#Voice.v + /// [text]: enum.ChannelType.html#variant.Text + /// [voice]: enum.ChannelType.html#variant.Voice Public(PublicChannel), } |