From e2b378ef7e0ed82b0f0c874f98032a368fd5f30f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 10 Sep 2019 00:59:29 +0300 Subject: rename bump -> bump_any --- crates/ra_parser/src/grammar/attributes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_parser/src/grammar/attributes.rs') diff --git a/crates/ra_parser/src/grammar/attributes.rs b/crates/ra_parser/src/grammar/attributes.rs index e97170203..81a363a57 100644 --- a/crates/ra_parser/src/grammar/attributes.rs +++ b/crates/ra_parser/src/grammar/attributes.rs @@ -15,11 +15,11 @@ pub(super) fn outer_attributes(p: &mut Parser) { fn attribute(p: &mut Parser, inner: bool) { let attr = p.start(); assert!(p.at(T![#])); - p.bump(); + p.bump_any(); if inner { assert!(p.at(T![!])); - p.bump(); + p.bump_any(); } if p.at(T!['[']) { -- cgit v1.2.3