mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
rename ROOT -> SOURCE_FILE
This commit is contained in:
parent
f8b36bbc3b
commit
2ed1514df3
185 changed files with 235 additions and 236 deletions
|
@ -172,7 +172,7 @@ impl<'a, S: Sink> EventProcessor<'a, S> {
|
|||
}
|
||||
|
||||
fn start(&mut self, kind: SyntaxKind) {
|
||||
if kind == ROOT {
|
||||
if kind == SOURCE_FILE {
|
||||
self.sink.start_internal(kind);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue