Skip to content

Commit

Permalink
Merge pull request #170 from hurryabit/needless-into
Browse files Browse the repository at this point in the history
Remove needless .into()
  • Loading branch information
lnicola authored Oct 7, 2024
2 parents 448d355 + 2f4371a commit ee37be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl<I: Iterator<Item = (SyntaxKind, String)>> Parser<I> {
}

fn print(indent: usize, element: SyntaxElement) {
let kind: SyntaxKind = element.kind().into();
let kind: SyntaxKind = element.kind();
print!("{:indent$}", "", indent = indent);
match element {
NodeOrToken::Node(node) => {
Expand Down

0 comments on commit ee37be7

Please sign in to comment.