From 2ed1514df3f8837ccebdbbfdadbe89e79b4a4365 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 7 Nov 2018 18:38:43 +0300 Subject: rename ROOT -> SOURCE_FILE --- crates/ra_syntax/src/parser_impl/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/parser_impl') 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> { } fn start(&mut self, kind: SyntaxKind) { - if kind == ROOT { + if kind == SOURCE_FILE { self.sink.start_internal(kind); return; } -- cgit v1.2.3