From 9ce7e8110254e8db476c96bce2eecb2d16983159 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 15:40:40 +0300 Subject: cleanups --- src/parser/grammar/items/mod.rs | 1 - src/parser/grammar/items/traits.rs | 1 - 2 files changed, 2 deletions(-) (limited to 'src/parser/grammar/items') diff --git a/src/parser/grammar/items/mod.rs b/src/parser/grammar/items/mod.rs index 0d9eccd2f..9147df87d 100644 --- a/src/parser/grammar/items/mod.rs +++ b/src/parser/grammar/items/mod.rs @@ -218,7 +218,6 @@ fn extern_block(p: &mut Parser) { p.expect(R_CURLY); } - fn fn_item(p: &mut Parser) { assert!(p.at(FN_KW)); p.bump(); diff --git a/src/parser/grammar/items/traits.rs b/src/parser/grammar/items/traits.rs index c7450b761..812cacfb7 100644 --- a/src/parser/grammar/items/traits.rs +++ b/src/parser/grammar/items/traits.rs @@ -8,7 +8,6 @@ pub(super) fn trait_item(p: &mut Parser) { p.expect(R_CURLY); } - // test impl_item // impl Foo {} pub(super) fn impl_item(p: &mut Parser) { -- cgit v1.2.3