Skip to content

Commit ed96688

Browse files
committed
rustc: Typo: mutabliity -> mutability
1 parent 3ae9ca4 commit ed96688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)