aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs
index ee60c6b8c..2dca4e3e8 100644
--- a/crates/ra_syntax/src/lib.rs
+++ b/crates/ra_syntax/src/lib.rs
@@ -75,7 +75,7 @@ impl<T> Parse<T> {
75 Parse { green, errors: Arc::new(errors), _ty: PhantomData } 75 Parse { green, errors: Arc::new(errors), _ty: PhantomData }
76 } 76 }
77 77
78 fn syntax_node(&self) -> SyntaxNode { 78 pub fn syntax_node(&self) -> SyntaxNode {
79 SyntaxNode::new(self.green.clone()) 79 SyntaxNode::new(self.green.clone())
80 } 80 }
81} 81}