aboutsummaryrefslogtreecommitdiff
path: root/src/model/guild/mod.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-10 08:01:23 -0700
committerZeyla Hellyer <[email protected]>2018-07-11 22:54:08 -0700
commit0d6e019c258a8f2e743bcab196acab50b01e3958 (patch)
tree4db148169920d0a14652d9c08b68b8e5288cbbd8 /src/model/guild/mod.rs
parentimpl Mentionable for GuildChannel (#348) (diff)
downloadserenity-0d6e019c258a8f2e743bcab196acab50b01e3958.tar.xz
serenity-0d6e019c258a8f2e743bcab196acab50b01e3958.zip
Fix doc links with no anchor
Diffstat (limited to 'src/model/guild/mod.rs')
-rw-r--r--src/model/guild/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/guild/mod.rs b/src/model/guild/mod.rs
index 4fc7079..67b0f0e 100644
--- a/src/model/guild/mod.rs
+++ b/src/model/guild/mod.rs
@@ -102,6 +102,7 @@ pub struct Guild {
/// the library.
///
/// [`ReadyEvent`]: events/struct.ReadyEvent.html
+ /// [`member_count`]: #structfield.member_count
#[serde(serialize_with = "serialize_gen_map")]
pub members: HashMap<UserId, Member>,
/// Indicator of whether the guild requires multi-factor authentication for
@@ -671,6 +672,8 @@ impl Guild {
///
/// If both user IDs are the same, `None` is returned. If one of the users
/// is the guild owner, their ID is returned.
+ ///
+ /// [`position`]: struct.Role.html#structfield.position
#[cfg(feature = "cache")]
#[inline]
pub fn greater_member_hierarchy<T, U>(&self, lhs_id: T, rhs_id: U)