aboutsummaryrefslogtreecommitdiff
path: root/src/utils/message_builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/message_builder.rs')
-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 15c0b07..7bbfddf 100644
--- a/src/utils/message_builder.rs
+++ b/src/utils/message_builder.rs
@@ -205,11 +205,11 @@ impl MessageBuilder {
/// ```
#[inline]
pub fn push<D: I>(self, content: D) -> Self {
- self._push(content.into().to_string())
+ self._push(&content.into().to_string())
}
- fn _push(mut self, content: String) -> Self {
- self.0.push_str(&content);
+ fn _push(mut self, content: &str) -> Self {
+ self.0.push_str(content);
self
}