aboutsummaryrefslogtreecommitdiff
path: root/src/builder/edit_profile.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-10-22 18:01:42 -0700
committerZeyla Hellyer <[email protected]>2017-10-22 18:01:42 -0700
commitb328b3e09b0095abb54530dc4d50db6b4e3e1779 (patch)
tree9af675bd9a608205dd2c29975038822327601a22 /src/builder/edit_profile.rs
parentRemove setting of the afk field in shards (diff)
downloadserenity-b328b3e09b0095abb54530dc4d50db6b4e3e1779.tar.xz
serenity-b328b3e09b0095abb54530dc4d50db6b4e3e1779.zip
Remove `on_` prefix to EventHandler tymethods
It was voted that the `on_` prefix is unnecessary, so these have been dropped.
Diffstat (limited to 'src/builder/edit_profile.rs')
-rw-r--r--src/builder/edit_profile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builder/edit_profile.rs b/src/builder/edit_profile.rs
index 648bfbf..48e09cd 100644
--- a/src/builder/edit_profile.rs
+++ b/src/builder/edit_profile.rs
@@ -25,7 +25,7 @@ impl EditProfile {
/// #
/// # struct Handler;
/// # impl EventHandler for Handler {
- /// # fn on_message(&self, context: Context, _: Message) {
+ /// # fn message(&self, context: Context, _: Message) {
/// use serenity::utils;
///
/// // assuming a `context` has been bound