aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar/attributes.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-02-11 10:13:06 +0000
committerAleksey Kladov <[email protected]>2018-02-11 10:19:10 +0000
commit65ebfd9a34554b8139d5c4673bc3b5daa5ab0df5 (patch)
tree206edfb15c0eec57c1872a2acc435d7f38df1c88 /src/parser/grammar/attributes.rs
parent7176029803fe2e00f29ab7d20a384e3ee6f53ba3 (diff)
Simplify
Diffstat (limited to 'src/parser/grammar/attributes.rs')
-rw-r--r--src/parser/grammar/attributes.rs2
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 @@
1use super::*; 1use super::*;
2 2
3pub(super) fn inner_attributes(p: &mut Parser) { 3pub(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}