Skip to content

Commit b4c06e1

Browse files
committed
---
yaml --- r: 1689 b: refs/heads/master c: ed96688 h: refs/heads/master i: 1687: d90203f v: v3
1 parent 40e0ac1 commit b4c06e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 3ae9ca444ce244e2bab660de28a5bf7047aa3813
2+
refs/heads/master: ed96688be5ae2c9b433cf8b00a207ce21e630562

trunk/src/comp/front/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ impure fn parse_path(parser p, greed g) -> ast.path {
595595
ret spanned(lo, tys.span, rec(idents=ids, types=tys.node));
596596
}
597597

598-
impure fn parse_mutabliity(parser p) -> ast.mutability {
598+
impure fn parse_mutability(parser p) -> ast.mutability {
599599
if (p.peek() == token.MUTABLE) {
600600
p.bump();
601601
ret ast.mut;
@@ -604,7 +604,7 @@ impure fn parse_mutabliity(parser p) -> ast.mutability {
604604
}
605605

606606
impure fn parse_field(parser p) -> ast.field {
607-
auto m = parse_mutabliity(p);
607+
auto m = parse_mutability(p);
608608
auto i = parse_ident(p);
609609
expect(p, token.EQ);
610610
auto e = parse_expr(p);
@@ -650,7 +650,7 @@ impure fn parse_bottom_expr(parser p) -> @ast.expr {
650650
case (token.TUP) {
651651
p.bump();
652652
impure fn parse_elt(parser p) -> ast.elt {
653-
auto m = parse_mutabliity(p);
653+
auto m = parse_mutability(p);
654654
auto e = parse_expr(p);
655655
ret rec(mut=m, expr=e);
656656
}

0 commit comments

Comments
 (0)