diff options
author | Aleksey Kladov <[email protected]> | 2019-09-09 22:59:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-09-09 23:00:38 +0100 |
commit | e2b378ef7e0ed82b0f0c874f98032a368fd5f30f (patch) | |
tree | 8d3d27474939f1d66fc622f827182206b6b7f975 /crates/ra_parser/src/grammar/items/consts.rs | |
parent | c3d96f64ef1b2a5ded9cf5950f8e0f5798de4e1b (diff) |
rename bump -> bump_any
Diffstat (limited to 'crates/ra_parser/src/grammar/items/consts.rs')
-rw-r--r-- | crates/ra_parser/src/grammar/items/consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/items/consts.rs b/crates/ra_parser/src/grammar/items/consts.rs index b4908ebba..e11546333 100644 --- a/crates/ra_parser/src/grammar/items/consts.rs +++ b/crates/ra_parser/src/grammar/items/consts.rs | |||
@@ -10,7 +10,7 @@ pub(super) fn const_def(p: &mut Parser, m: Marker) { | |||
10 | 10 | ||
11 | fn const_or_static(p: &mut Parser, m: Marker, kw: SyntaxKind, def: SyntaxKind) { | 11 | fn const_or_static(p: &mut Parser, m: Marker, kw: SyntaxKind, def: SyntaxKind) { |
12 | assert!(p.at(kw)); | 12 | assert!(p.at(kw)); |
13 | p.bump(); | 13 | p.bump_any(); |
14 | p.eat(T![mut]); // FIXME: validator to forbid const mut | 14 | p.eat(T![mut]); // FIXME: validator to forbid const mut |
15 | name(p); | 15 | name(p); |
16 | types::ascription(p); | 16 | types::ascription(p); |