Skip to content

Commit 026e424

Browse files
committed
Allow conversion from tree-sitter AST
1 parent 33f6f26 commit 026e424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl Tree {
2525

2626
/// An `AST` node.
2727
#[derive(Clone, Copy)]
28-
pub struct Node<'a>(OtherNode<'a>);
28+
pub struct Node<'a>(pub OtherNode<'a>);
2929

3030
impl<'a> Node<'a> {
3131
/// Checks if a node represents a syntax error or contains any syntax errors

0 commit comments

Comments
 (0)