fix(cli): remove trailing whitespace in cst print
This commit is contained in:
parent
2c02f0767b
commit
3294b04436
1 changed files with 2 additions and 1 deletions
|
|
@ -973,9 +973,10 @@ fn cst_render_node(
|
|||
} else {
|
||||
opts.parse_theme.node_kind
|
||||
};
|
||||
write!(out, "{} ", paint(kind_color, node.kind()))?;
|
||||
write!(out, "{}", paint(kind_color, node.kind()),)?;
|
||||
|
||||
if node.child_count() == 0 {
|
||||
write!(out, " ")?;
|
||||
// Node text from a pattern or external scanner
|
||||
write_node_text(
|
||||
opts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue