We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 903a8c6 commit 066011eCopy full SHA for 066011e
crates/ltk_ritobin/src/parse/cst/tree.rs
@@ -117,8 +117,9 @@ impl Cst {
117
Child::Token(token) => {
118
format_to!(
119
buf,
120
- "{parent_indent}│ {bar} {:?}\n",
121
- &source[token.span.start as _..token.span.end as _]
+ "{parent_indent}│ {bar} {:?} ({:?})\n",
+ &source[token.span.start as _..token.span.end as _],
122
+ token.kind,
123
)
124
}
125
Child::Tree(tree) => tree.print(buf, level + 1, source),
0 commit comments