diff options
author | Aleksey Kladov <[email protected]> | 2018-08-23 23:19:38 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-23 23:19:38 +0100 |
commit | dc40f1298a8d4dcb7a26d5af38c4fb7ef3d6c5df (patch) | |
tree | 618354b471933003577ff2a5616c27bd272f62f3 /crates/libsyntax2/src/grammar/items/use_item.rs | |
parent | cf7d4a2a243cac1975b9b28d47ed91a6bd01b34f (diff) |
better self-types
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/use_item.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/items/use_item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/items/use_item.rs b/crates/libsyntax2/src/grammar/items/use_item.rs index a3f7f0da8..3da40a629 100644 --- a/crates/libsyntax2/src/grammar/items/use_item.rs +++ b/crates/libsyntax2/src/grammar/items/use_item.rs | |||
@@ -26,7 +26,7 @@ fn use_tree(p: &mut Parser) { | |||
26 | paths::use_path(p); | 26 | paths::use_path(p); |
27 | match p.current() { | 27 | match p.current() { |
28 | AS_KW => { | 28 | AS_KW => { |
29 | alias(p); | 29 | opt_alias(p); |
30 | } | 30 | } |
31 | COLONCOLON => { | 31 | COLONCOLON => { |
32 | p.bump(); | 32 | p.bump(); |