diff options
| author | Graydon Hoare <[email protected]> | 2010-11-29 15:29:55 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-29 15:29:55 -0800 |
| commit | 3e08171fc21f7fcc403aa315d8fb54f04c552841 (patch) | |
| tree | b4ff7c529374fe4680c70b9d26d95a3b0499afbb /src/comp/front/ast.rs | |
| parent | Change from bool to tag ast.mutability. (diff) | |
| download | rust-3e08171fc21f7fcc403aa315d8fb54f04c552841.tar.xz rust-3e08171fc21f7fcc403aa315d8fb54f04c552841.zip | |
Change mutability into a type constructor.
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 5e34d481..3b1a31b8 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -152,7 +152,7 @@ tag ty_ { ty_str; ty_box(@ty); ty_vec(@ty); - ty_tup(vec[tup(mutability, @ty)]); + ty_tup(vec[@ty]); ty_fn(vec[rec(mode mode, @ty ty)], @ty); // TODO: effect ty_path(path, option.t[def]); ty_mutable(@ty); |