summaryrefslogtreecommitdiff
path: root/cli/tools/repl/editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/repl/editor.rs')
-rw-r--r--cli/tools/repl/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs
index 825934b5e..43047e585 100644
--- a/cli/tools/repl/editor.rs
+++ b/cli/tools/repl/editor.rs
@@ -315,7 +315,7 @@ impl Highlighter for EditorHelper {
colors::green(&line[span]).to_string()
}
Token::Regex(_, _) => colors::red(&line[span]).to_string(),
- Token::Num(_) | Token::BigInt(_) => {
+ Token::Num { .. } | Token::BigInt { .. } => {
colors::yellow(&line[span]).to_string()
}
Token::Word(word) => match word {