From dafe747dcc069084fc8bc771c5dcf72e7cb9ec23 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 6 Nov 2018 20:56:32 +0300 Subject: upstream basic tree algorithms to rowan --- crates/ra_syntax/src/yellow/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/yellow') diff --git a/crates/ra_syntax/src/yellow/mod.rs b/crates/ra_syntax/src/yellow/mod.rs index 6da948648..cacd89dc8 100644 --- a/crates/ra_syntax/src/yellow/mod.rs +++ b/crates/ra_syntax/src/yellow/mod.rs @@ -27,7 +27,7 @@ pub type RefRoot<'a> = ::rowan::RefRoot<'a, RaTypes>; pub type GreenNode = ::rowan::GreenNode; #[derive(Clone, Copy)] -pub struct SyntaxNode = OwnedRoot>(::rowan::SyntaxNode); +pub struct SyntaxNode = OwnedRoot>(pub(crate) ::rowan::SyntaxNode); pub type SyntaxNodeRef<'a> = SyntaxNode>; impl PartialEq> for SyntaxNode -- cgit v1.2.3