aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-05 17:35:14 -0700
committerAustin Hellyer <[email protected]>2016-11-05 17:35:14 -0700
commit27c34534e441503926da372c98cdf79236256c36 (patch)
treef748905c2b903f971bb549987965a13303afdf7c /src/utils
parentFix doc links to enum variants (diff)
downloadserenity-27c34534e441503926da372c98cdf79236256c36.tar.xz
serenity-27c34534e441503926da372c98cdf79236256c36.zip
Convert all doc anchors to named anchors
Convert all of the non-named anchors in docs to named anchors. Example: ```md Kicks a [`Member`](../model/struct.Member.html) from the specified [`Guild`](../model/struct.Guild.html) if they are in it. ``` is now written as: ```md Kicks a [`Member`] from the specified [`Guild`] if they are in it. [`Guild`]: ../model/struct.Guild.html [`Member`]: ../model/struct.Member.html ```
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/message_builder.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/message_builder.rs b/src/utils/message_builder.rs
index a24fd2d..252d068 100644
--- a/src/utils/message_builder.rs
+++ b/src/utils/message_builder.rs
@@ -49,8 +49,9 @@ impl MessageBuilder {
self
}
- /// Mentions something that implements the
- /// [Mentionable](../model/trait.Mentionable.html) trait.
+ /// Mentions something that implements the [`Mentionable`] trait.
+ ///
+ /// [`Mentionable`]: ../model/trait.Mentionable.html
pub fn mention<M: Mentionable>(mut self, item: M) -> Self {
self.0.push_str(&item.mention());