aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar/items
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/grammar/items')
-rw-r--r--src/parser/grammar/items/mod.rs1
-rw-r--r--src/parser/grammar/items/traits.rs1
2 files changed, 0 insertions, 2 deletions
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) {
218 p.expect(R_CURLY); 218 p.expect(R_CURLY);
219} 219}
220 220
221
222fn fn_item(p: &mut Parser) { 221fn fn_item(p: &mut Parser) {
223 assert!(p.at(FN_KW)); 222 assert!(p.at(FN_KW));
224 p.bump(); 223 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) {
8 p.expect(R_CURLY); 8 p.expect(R_CURLY);
9} 9}
10 10
11
12// test impl_item 11// test impl_item
13// impl Foo {} 12// impl Foo {}
14pub(super) fn impl_item(p: &mut Parser) { 13pub(super) fn impl_item(p: &mut Parser) {