diff options
author | Aleksey Kladov <[email protected]> | 2018-02-11 10:13:06 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-11 10:19:10 +0000 |
commit | 65ebfd9a34554b8139d5c4673bc3b5daa5ab0df5 (patch) | |
tree | 206edfb15c0eec57c1872a2acc435d7f38df1c88 /src/parser/grammar/attributes.rs | |
parent | 7176029803fe2e00f29ab7d20a384e3ee6f53ba3 (diff) |
Simplify
Diffstat (limited to 'src/parser/grammar/attributes.rs')
-rw-r--r-- | src/parser/grammar/attributes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/attributes.rs b/src/parser/grammar/attributes.rs index 92dfb99ef..7f1c0401a 100644 --- a/src/parser/grammar/attributes.rs +++ b/src/parser/grammar/attributes.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | use super::*; | 1 | use super::*; |
2 | 2 | ||
3 | pub(super) fn inner_attributes(p: &mut Parser) { | 3 | pub(super) fn inner_attributes(p: &mut Parser) { |
4 | while p.at([POUND, EXCL]) { | 4 | while p.current() == POUND && p.nth(1) == EXCL { |
5 | attribute(p, true) | 5 | attribute(p, true) |
6 | } | 6 | } |
7 | } | 7 | } |