diff options
author | Aleksey Kladov <[email protected]> | 2018-11-07 15:38:43 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-07 15:42:36 +0000 |
commit | 2ed1514df3f8837ccebdbbfdadbe89e79b4a4365 (patch) | |
tree | 82af1d514d9865db4e2cc163a7ffa601a7c294db /crates/ra_syntax/src/parser_impl/event.rs | |
parent | f8b36bbc3b968754b71844d942286e81415627b8 (diff) |
rename ROOT -> SOURCE_FILE
Diffstat (limited to 'crates/ra_syntax/src/parser_impl/event.rs')
-rw-r--r-- | crates/ra_syntax/src/parser_impl/event.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parser_impl/event.rs b/crates/ra_syntax/src/parser_impl/event.rs index bf9c1cef0..3d8b062d5 100644 --- a/crates/ra_syntax/src/parser_impl/event.rs +++ b/crates/ra_syntax/src/parser_impl/event.rs | |||
@@ -172,7 +172,7 @@ impl<'a, S: Sink> EventProcessor<'a, S> { | |||
172 | } | 172 | } |
173 | 173 | ||
174 | fn start(&mut self, kind: SyntaxKind) { | 174 | fn start(&mut self, kind: SyntaxKind) { |
175 | if kind == ROOT { | 175 | if kind == SOURCE_FILE { |
176 | self.sink.start_internal(kind); | 176 | self.sink.start_internal(kind); |
177 | return; | 177 | return; |
178 | } | 178 | } |