aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-12-17 15:12:26 +0100
committeracdenisSK <[email protected]>2017-12-17 15:12:56 +0100
commit2d341870ae2b950807d47210001124027b11ade9 (patch)
tree2b6c6e8df513717463489c503ec0a37baa1648a3 /src/utils
parentFix shards attempting to re-identify on their own (diff)
downloadserenity-2d341870ae2b950807d47210001124027b11ade9.tar.xz
serenity-2d341870ae2b950807d47210001124027b11ade9.zip
Fix doc-tests and `single_zc`
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/message_builder.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/message_builder.rs b/src/utils/message_builder.rs
index b3599c2..580be82 100644
--- a/src/utils/message_builder.rs
+++ b/src/utils/message_builder.rs
@@ -33,9 +33,9 @@ use std::ops::Add;
///
/// let content = MessageBuilder::new()
/// .push("You sent a message, ")
-/// .mention(user)
+/// .mention(&user)
/// .push("! ")
-/// .mention(emoji)
+/// .mention(&emoji)
/// .build();
/// ```
///
@@ -154,7 +154,7 @@ impl MessageBuilder {
///
/// let message = MessageBuilder::new()
/// .push("foo ")
- /// .emoji(emoji)
+ /// .emoji(&emoji)
/// .push(".")
/// .build();
///