aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-20 00:00:17 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-20 00:00:17 -0600
commit514896e05424d9df97295840b3fa6f2ad46620ab (patch)
treef69abbb4971a3bf9cc4ca3152b8f6cc141069cc8 /src
parent738f437f59bf2408dcdc6514ffa2d7a2ee5a61c5 (diff)
Adds lists, although they don't evaluate yet.
Diffstat (limited to 'src')
-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()