mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
rename Sink -> TreeSink
This commit is contained in:
parent
96899f8278
commit
3517c175ac
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
use crate::{
|
||||
parsing::parser_impl::Sink,
|
||||
parsing::parser_impl::TreeSink,
|
||||
syntax_node::{GreenNode, RaTypes},
|
||||
SmolStr, SyntaxKind, SyntaxError,
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ impl GreenBuilder {
|
|||
}
|
||||
}
|
||||
|
||||
impl Sink for GreenBuilder {
|
||||
impl TreeSink for GreenBuilder {
|
||||
type Tree = (GreenNode, Vec<SyntaxError>);
|
||||
|
||||
fn leaf(&mut self, kind: SyntaxKind, text: SmolStr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue