diff options
Diffstat (limited to 'crates/ra_syntax/src/parsing/builder.rs')
-rw-r--r-- | crates/ra_syntax/src/parsing/builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/parsing/builder.rs b/crates/ra_syntax/src/parsing/builder.rs index 9090c60c2..118f43b2c 100644 --- a/crates/ra_syntax/src/parsing/builder.rs +++ b/crates/ra_syntax/src/parsing/builder.rs | |||
@@ -1,5 +1,5 @@ | |||
1 | use crate::{ | 1 | use crate::{ |
2 | parsing::parser_impl::Sink, | 2 | parsing::parser_impl::TreeSink, |
3 | syntax_node::{GreenNode, RaTypes}, | 3 | syntax_node::{GreenNode, RaTypes}, |
4 | SmolStr, SyntaxKind, SyntaxError, | 4 | SmolStr, SyntaxKind, SyntaxError, |
5 | }; | 5 | }; |
@@ -17,7 +17,7 @@ impl GreenBuilder { | |||
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | impl Sink for GreenBuilder { | 20 | impl TreeSink for GreenBuilder { |
21 | type Tree = (GreenNode, Vec<SyntaxError>); | 21 | type Tree = (GreenNode, Vec<SyntaxError>); |
22 | 22 | ||
23 | fn leaf(&mut self, kind: SyntaxKind, text: SmolStr) { | 23 | fn leaf(&mut self, kind: SyntaxKind, text: SmolStr) { |