make mut a keyword synonymous with mutable
first step towards issue #1273
This commit is contained in:
parent
dddd9908d5
commit
bfff2a8d55
29 changed files with 224 additions and 206 deletions
|
@ -66,8 +66,8 @@ pure fn lazy_binop(b: binop) -> bool {
|
|||
|
||||
fn unop_to_str(op: unop) -> str {
|
||||
alt op {
|
||||
box(mt) { if mt == mut { ret "@mutable "; } ret "@"; }
|
||||
uniq(mt) { if mt == mut { ret "~mutable "; } ret "~"; }
|
||||
box(mt) { if mt == m_mutbl { ret "@mut "; } ret "@"; }
|
||||
uniq(mt) { if mt == m_mutbl { ret "~mut "; } ret "~"; }
|
||||
deref { ret "*"; }
|
||||
not { ret "!"; }
|
||||
neg { ret "-"; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue