Skip to content

Commit aeca5ba

Browse files
committed
Fix name.
1 parent 7a3b290 commit aeca5ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustsyntax/parse/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ fn parse_ty_postfix(orig_t: ast::ty_, p: parser, colons_before_params: bool,
392392

393393
if p.token == token::BINOP(token::SLASH) {
394394
let orig_hi = p.last_span.hi;
395-
alt parse_maybe_vstore(p) {
395+
alt maybe_parse_vstore(p) {
396396
none { }
397397
some(v) {
398398
let t = ast::ty_vstore(mk_ty(p, orig_t, lo, orig_hi), v);
@@ -693,7 +693,7 @@ fn have_dollar(p: parser) -> option<ast::mac_> {
693693
}
694694
}
695695

696-
fn parse_maybe_vstore(p: parser) -> option<ast::vstore> {
696+
fn maybe_parse_vstore(p: parser) -> option<ast::vstore> {
697697
if p.token == token::BINOP(token::SLASH) {
698698
p.bump();
699699
alt p.token {
@@ -1060,7 +1060,7 @@ fn parse_bottom_expr(p: parser) -> pexpr {
10601060
alt ex {
10611061
ast::expr_lit(@{node: ast::lit_str(_), span: _}) |
10621062
ast::expr_vec(_, _) {
1063-
alt parse_maybe_vstore(p) {
1063+
alt maybe_parse_vstore(p) {
10641064
none { }
10651065
some(v) {
10661066
hi = p.span.hi;

0 commit comments

Comments
 (0)