We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76f05b commit dd2be46Copy full SHA for dd2be46
crates/cairo-lang-parser/src/colored_printer.rs
@@ -18,8 +18,7 @@ impl ColoredPrinter<'_> {
18
if self.verbose && node.kind == SyntaxKind::TokenMissing {
19
self.result.push_str(format!("{}", "<m>".red()).as_str());
20
} else {
21
- self.result
22
- .push_str(set_color(text.long(self.db), node.kind).to_string().as_str());
+ self.result.push_str(&set_color(text.long(self.db), node.kind).to_string());
23
}
24
25
GreenNodeDetails::Node { .. } => {
0 commit comments