aboutsummaryrefslogtreecommitdiff
path: root/src/commands/discocaml.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/discocaml.rs')
-rw-r--r--src/commands/discocaml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/discocaml.rs b/src/commands/discocaml.rs
index e6b1a0b..712a846 100644
--- a/src/commands/discocaml.rs
+++ b/src/commands/discocaml.rs
@@ -186,7 +186,7 @@ async fn respond_with_error<E: std::error::Error, F: Future<Output = Result<(),
if let Some((i, _)) = content.char_indices().nth(1997) {
content.truncate(i);
assert_eq!(content.chars().count(), 1997);
- content.push_str("…");
+ content.push('…');
}
let msg = CreateInteractionResponseMessage::new()