diff options
author | Aleksey Kladov <[email protected]> | 2018-08-23 22:16:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-23 22:16:29 +0100 |
commit | dd64a155e9dd24fd2a81f8c634fdb396632de472 (patch) | |
tree | 606b54ead924e2063a3493e8a0cff8e48cd087ee /crates/libsyntax2/src/grammar/items/mod.rs | |
parent | f47f58ffe5fb494c883ec4fd120cdd63ad31cc68 (diff) |
rename
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/items/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/libsyntax2/src/grammar/items/mod.rs index 84cb47748..c74266133 100644 --- a/crates/libsyntax2/src/grammar/items/mod.rs +++ b/crates/libsyntax2/src/grammar/items/mod.rs | |||
@@ -63,7 +63,7 @@ pub(super) enum MaybeItem { | |||
63 | 63 | ||
64 | pub(super) fn maybe_item(p: &mut Parser, flavor: ItemFlavor) -> MaybeItem { | 64 | pub(super) fn maybe_item(p: &mut Parser, flavor: ItemFlavor) -> MaybeItem { |
65 | attributes::outer_attributes(p); | 65 | attributes::outer_attributes(p); |
66 | visibility(p); | 66 | opt_visibility(p); |
67 | if let Some(kind) = items_without_modifiers(p) { | 67 | if let Some(kind) = items_without_modifiers(p) { |
68 | return MaybeItem::Item(kind); | 68 | return MaybeItem::Item(kind); |
69 | } | 69 | } |