aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-23 20:53:31 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-23 20:53:31 -0600
commit6b1b1abafff15c5021d33689335e9b792c1873d4 (patch)
tree64c849f6f1b3149dcdd4e548620e4f66553a8c20 /src
parent8b5dab508800c08a11a255280798bd4b245e0818 (diff)
let expressions
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 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(