From 1d95f34e9a1b2b7cebf44e38238b50a693d3394b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 13 Aug 2018 18:34:02 +0300 Subject: More renames --- crates/libsyntax2/src/grammar/items/structs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/libsyntax2/src/grammar/items/structs.rs') diff --git a/crates/libsyntax2/src/grammar/items/structs.rs b/crates/libsyntax2/src/grammar/items/structs.rs index 67616eaad..80e77edd3 100644 --- a/crates/libsyntax2/src/grammar/items/structs.rs +++ b/crates/libsyntax2/src/grammar/items/structs.rs @@ -1,6 +1,6 @@ use super::*; -pub(super) fn struct_item(p: &mut Parser) { +pub(super) fn struct_def(p: &mut Parser) { assert!(p.at(STRUCT_KW)); p.bump(); @@ -38,7 +38,7 @@ pub(super) fn struct_item(p: &mut Parser) { } } -pub(super) fn enum_item(p: &mut Parser) { +pub(super) fn enum_def(p: &mut Parser) { assert!(p.at(ENUM_KW)); p.bump(); name(p); -- cgit v1.2.3