diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-16 14:41:32 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-16 14:41:32 -0800 |
| commit | b655fb9ea7d81d03cf049ae32babda19003631e5 (patch) | |
| tree | 2bbf62e5072db9e28c10ca9d7efe668a2678cbdc /src/comp/util | |
| parent | 1d361f680610bb0f75f80b8fc8ca03d04b13577b (diff) | |
| download | rust-b655fb9ea7d81d03cf049ae32babda19003631e5.tar.gz rust-b655fb9ea7d81d03cf049ae32babda19003631e5.zip | |
Replace 'mutable?' with 'const'
Diffstat (limited to 'src/comp/util')
| -rw-r--r-- | src/comp/util/ppaux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs index b148b99cde8..fe899b8c59a 100644 --- a/src/comp/util/ppaux.rs +++ b/src/comp/util/ppaux.rs @@ -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); } |
