From 3e08171fc21f7fcc403aa315d8fb54f04c552841 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 29 Nov 2010 15:29:55 -0800 Subject: Change mutability into a type constructor. --- src/comp/front/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/front/ast.rs') 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); -- cgit v1.2.3