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 8451d82..bccb9bd 100644
--- a/src/commands/discocaml.rs
+++ b/src/commands/discocaml.rs
@@ -353,7 +353,7 @@ async fn run_dot(dot: &str) -> Result<BString> {
}
fn escape_code(s: &str) -> String {
- s.replace("`", "\\`")
+ s.replace('`', "\\`")
}
fn expr_response_message(