diff options
Diffstat (limited to 'src/commands')
-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( |