diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-01-23 20:53:31 -0600 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-01-23 20:53:31 -0600 |
commit | 6b1b1abafff15c5021d33689335e9b792c1873d4 (patch) | |
tree | 64c849f6f1b3149dcdd4e548620e4f66553a8c20 /src/commands/discocaml.rs | |
parent | 8b5dab508800c08a11a255280798bd4b245e0818 (diff) |
let expressions
Diffstat (limited to 'src/commands/discocaml.rs')
-rw-r--r-- | src/commands/discocaml.rs | 2 |
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( |