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/error.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/error.rs')
| -rw-r--r-- | src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index 065958b..2e3ea07 100644 --- a/src/error.rs +++ b/src/error.rs @@ -17,9 +17,9 @@ pub type Result<T> = ::std::result::Result<T, Error>; /// enums, are both wrapped around this in the form of the [`Client`] and /// [`Connection`] variants. /// -/// [`Client`]: #Client.v +/// [`Client`]: #variant.Client /// [`ClientError`]: client/enum.ClientError.html -/// [`Connection`]: #Connection.v +/// [`Connection`]: #variant.Connection /// [`ConnectionError`]: client/enum.ConnectionError.html /// [`Result`]: type.Result.html #[derive(Debug)] |