Replace 'mutable?' with 'const'
This commit is contained in:
parent
1d361f6806
commit
b655fb9ea7
23 changed files with 53 additions and 54 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue