diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 14:25:46 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 14:25:46 +0100 |
commit | eb2f8063444b11257111f4f8ade990ec810e0361 (patch) | |
tree | 999cef9fc647293699515f1e0ac59492e64c1116 /crates/ra_parser/src/grammar | |
parent | 1142112c70b705f59b7d559d9d72cdc831865158 (diff) |
Rename TypeAliasDef -> TypeAlias
Diffstat (limited to 'crates/ra_parser/src/grammar')
-rw-r--r-- | crates/ra_parser/src/grammar/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/items.rs b/crates/ra_parser/src/grammar/items.rs index 7f8a51ddb..664b23f6a 100644 --- a/crates/ra_parser/src/grammar/items.rs +++ b/crates/ra_parser/src/grammar/items.rs | |||
@@ -380,7 +380,7 @@ fn type_def(p: &mut Parser, m: Marker) { | |||
380 | types::type_(p); | 380 | types::type_(p); |
381 | } | 381 | } |
382 | p.expect(T![;]); | 382 | p.expect(T![;]); |
383 | m.complete(p, TYPE_ALIAS_DEF); | 383 | m.complete(p, TYPE_ALIAS); |
384 | } | 384 | } |
385 | 385 | ||
386 | pub(crate) fn mod_item(p: &mut Parser, m: Marker) { | 386 | pub(crate) fn mod_item(p: &mut Parser, m: Marker) { |