diff options
Diffstat (limited to 'src/syntax/node.rs')
| -rw-r--r-- | src/syntax/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/node.rs b/src/syntax/node.rs index 1fdb0a83..e153b0bf 100644 --- a/src/syntax/node.rs +++ b/src/syntax/node.rs @@ -175,7 +175,7 @@ impl SyntaxNode { } /// Set a synthetic span for the node and all its descendants. - pub(super) fn synthesize(&mut self, span: Span) { + pub(crate) fn synthesize(&mut self, span: Span) { match &mut self.0 { Repr::Leaf(leaf) => leaf.span = span, Repr::Inner(inner) => Arc::make_mut(inner).synthesize(span), |
