aboutsummaryrefslogtreecommitdiff
path: root/src/readline
diff options
context:
space:
mode:
Diffstat (limited to 'src/readline')
-rw-r--r--src/readline/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readline/mod.rs b/src/readline/mod.rs
index 9ae14ba..97f03bd 100644
--- a/src/readline/mod.rs
+++ b/src/readline/mod.rs
@@ -23,7 +23,7 @@ impl Highlighter for LineHighlighter {
23 Owned(format!("\x1b[90m{}\x1b[0m", hint)) 23 Owned(format!("\x1b[90m{}\x1b[0m", hint))
24 } 24 }
25 fn highlight<'l>(&self, line: &'l str, _: usize) -> Cow<'l, str> { 25 fn highlight<'l>(&self, line: &'l str, _: usize) -> Cow<'l, str> {
26 let op = eval_math_expression(line, &mut 0f64); 26 let op = eval_math_expression(line, 0f64);
27 match op { 27 match op {
28 Ok(_) => { 28 Ok(_) => {
29 let functions = [ 29 let functions = [