diff --git a/src/model/channel/message.rs b/src/model/channel/message.rs index 0fa34500d9b..3bd9fc9ed2f 100644 --- a/src/model/channel/message.rs +++ b/src/model/channel/message.rs @@ -363,7 +363,7 @@ impl Message { /// /// Requires the `cache` feature be enabled. /// - /// [`guild_id`]: #method.guild_id + /// [`guild_id`]: #structfield.guild_id #[cfg(feature = "cache")] pub fn guild(&self, cache: impl AsRef) -> Option>> { cache.as_ref().read().guild(self.guild_id?)