rewrite 'mutable &' as '& mutable', corresponding to grammar shift.

This commit is contained in:
Graydon Hoare
2010-06-30 02:30:17 -07:00
parent e828b2a94d
commit 8e4a10790f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
fn incr(mutable &int x) -> bool {
fn incr(& mutable int x) -> bool {
x += 1;
check (false);
ret false;
+1 -1
View File
@@ -2,7 +2,7 @@
type point = rec(int x, int y, mutable int z);
fn f(mutable &point p) {
fn f(& mutable point p) {
p.z = 13;
}