diff options
author | Aleksey Kladov <[email protected]> | 2018-08-25 09:44:17 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-25 09:44:17 +0100 |
commit | cf278ed3bf71d336422f7d7d7d51be92b717b720 (patch) | |
tree | 57bc0fa827e9af90be00918ab26d35832d1a1425 /crates/libsyntax2/src/grammar | |
parent | 9fae494a8da347a32cdcd3dcd714ba00aaff9664 (diff) |
rename file -> root
Diffstat (limited to 'crates/libsyntax2/src/grammar')
-rw-r--r-- | crates/libsyntax2/src/grammar/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/mod.rs b/crates/libsyntax2/src/grammar/mod.rs index 0f118f12d..e3ca2714c 100644 --- a/crates/libsyntax2/src/grammar/mod.rs +++ b/crates/libsyntax2/src/grammar/mod.rs | |||
@@ -40,7 +40,7 @@ pub(crate) fn file(p: &mut Parser) { | |||
40 | let file = p.start(); | 40 | let file = p.start(); |
41 | p.eat(SHEBANG); | 41 | p.eat(SHEBANG); |
42 | items::mod_contents(p, false); | 42 | items::mod_contents(p, false); |
43 | file.complete(p, FILE); | 43 | file.complete(p, ROOT); |
44 | } | 44 | } |
45 | 45 | ||
46 | 46 | ||