diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 13:40:40 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 13:40:40 +0100 |
commit | 9ce7e8110254e8db476c96bce2eecb2d16983159 (patch) | |
tree | abaddbafc4593948849394b430e3bde5c624fa22 /src/parser/grammar/items | |
parent | 2a2815266b35de12bd3c48cc405e8b3e8fcf8885 (diff) |
cleanups
Diffstat (limited to 'src/parser/grammar/items')
-rw-r--r-- | src/parser/grammar/items/mod.rs | 1 | ||||
-rw-r--r-- | src/parser/grammar/items/traits.rs | 1 |
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 | |||
222 | fn fn_item(p: &mut Parser) { | 221 | fn 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 {} |
14 | pub(super) fn impl_item(p: &mut Parser) { | 13 | pub(super) fn impl_item(p: &mut Parser) { |