aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAdelyn <[email protected]>2019-01-01 15:12:20 -0700
committerGitHub <[email protected]>2019-01-01 15:12:20 -0700
commit6bfb54defb5f52da4f436cbaf62e3a2c8e426715 (patch)
treef20348c701e343e4de193393bbac8871d3201f12 /src/client
parentApply suggestions from code review (diff)
downloadserenity-6bfb54defb5f52da4f436cbaf62e3a2c8e426715.tar.xz
serenity-6bfb54defb5f52da4f436cbaf62e3a2c8e426715.zip
Add doclink per suggestions
Diffstat (limited to 'src/client')
-rw-r--r--src/client/event_handler.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/event_handler.rs b/src/client/event_handler.rs
index 9fc7c69..1fb6d1a 100644
--- a/src/client/event_handler.rs
+++ b/src/client/event_handler.rs
@@ -216,7 +216,9 @@ pub trait EventHandler {
///
/// Provides the old message if available,
/// the new message as an option in case of cache inconsistencies,
- /// and the raw MessageUpdateEvent as a fallback.
+ /// and the raw [`MessageUpdateEvent`] as a fallback.
+ ///
+ /// [`MessageUpdateEvent`]: ../model/event/struct.MessageUpdateEvent.html
#[cfg(feature = "cache")]
fn message_update(&self, _ctx: Context, _old_if_available: Option<Message>, _new: Option<Message>, _event: MessageUpdateEvent) {}