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/consts.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/libsyntax2/src/grammar/items/consts.rs') diff --git a/crates/libsyntax2/src/grammar/items/consts.rs b/crates/libsyntax2/src/grammar/items/consts.rs index b11949b49..5a5852f83 100644 --- a/crates/libsyntax2/src/grammar/items/consts.rs +++ b/crates/libsyntax2/src/grammar/items/consts.rs @@ -1,10 +1,10 @@ use super::*; -pub(super) fn static_item(p: &mut Parser) { +pub(super) fn static_def(p: &mut Parser) { const_or_static(p, STATIC_KW) } -pub(super) fn const_item(p: &mut Parser) { +pub(super) fn const_def(p: &mut Parser) { const_or_static(p, CONST_KW) } -- cgit v1.2.3