aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parsing/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/parsing/builder.rs')
-rw-r--r--crates/ra_syntax/src/parsing/builder.rs4
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 @@
1use crate::{ 1use 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
20impl Sink for GreenBuilder { 20impl 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) {