aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/lazy-and-or.rs2
-rw-r--r--src/test/run-pass/writealias.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/lazy-and-or.rs b/src/test/run-pass/lazy-and-or.rs
index 81f09843..fe0ffe6b 100644
--- a/src/test/run-pass/lazy-and-or.rs
+++ b/src/test/run-pass/lazy-and-or.rs
@@ -1,4 +1,4 @@
-fn incr(mutable &int x) -> bool {
+fn incr(& mutable int x) -> bool {
x += 1;
check (false);
ret false;
diff --git a/src/test/run-pass/writealias.rs b/src/test/run-pass/writealias.rs
index 96b2a9d7..061b1b57 100644
--- a/src/test/run-pass/writealias.rs
+++ b/src/test/run-pass/writealias.rs
@@ -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;
}