about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-03-17 16:38:28 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-03-17 16:39:10 -0700
commited96688be5ae2c9b433cf8b00a207ce21e630562 (patch)
treea11b1f670e0f254e703cd1e1fa9eff80551b180b /src
parent3ae9ca444ce244e2bab660de28a5bf7047aa3813 (diff)
downloadrust-ed96688be5ae2c9b433cf8b00a207ce21e630562.tar.gz
rust-ed96688be5ae2c9b433cf8b00a207ce21e630562.zip
rustc: Typo: mutabliity -> mutability
Diffstat (limited to 'src')
-rw-r--r--src/comp/front/parser.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index 5e38345d251..db09301cc07 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -595,7 +595,7 @@ impure fn parse_path(parser p, greed g) -> ast.path {
     ret spanned(lo, tys.span, rec(idents=ids, types=tys.node));
 }
 
-impure fn parse_mutabliity(parser p) -> ast.mutability {
+impure fn parse_mutability(parser p) -> ast.mutability {
     if (p.peek() == token.MUTABLE) {
         p.bump();
         ret ast.mut;
@@ -604,7 +604,7 @@ impure fn parse_mutabliity(parser p) -> ast.mutability {
 }
 
 impure fn parse_field(parser p) -> ast.field {
-    auto m = parse_mutabliity(p);
+    auto m = parse_mutability(p);
     auto i = parse_ident(p);
     expect(p, token.EQ);
     auto e = parse_expr(p);
@@ -650,7 +650,7 @@ impure fn parse_bottom_expr(parser p) -> @ast.expr {
         case (token.TUP) {
             p.bump();
             impure fn parse_elt(parser p) -> ast.elt {
-                auto m = parse_mutabliity(p);
+                auto m = parse_mutability(p);
                 auto e = parse_expr(p);
                 ret rec(mut=m, expr=e);
             }