Replace 'mutable?' with 'const'

This commit is contained in:
Brian Anderson 2011-11-16 14:41:32 -08:00
parent 1d361f6806
commit b655fb9ea7
23 changed files with 53 additions and 54 deletions

View file

@ -84,7 +84,7 @@ fn ty_to_str(cx: ctxt, typ: t) -> str {
alt m.mut {
ast::mut. { mstr = "mutable "; }
ast::imm. { mstr = ""; }
ast::maybe_mut. { mstr = "mutable? "; }
ast::maybe_mut. { mstr = "const "; }
}
ret mstr + ty_to_str(cx, m.ty);
}