aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-30 22:45:54 -0700
committerGraydon Hoare <[email protected]>2010-06-30 22:45:54 -0700
commit6a0b06e56287f1de7ff096ed79fbf86e1e527290 (patch)
tree5596e1e36c3f59dc7f25c84730705aaf28128a0b /src/test
parentNo more "transplant" behavior in "let @x = y", gotta box explicitly. (diff)
downloadrust-6a0b06e56287f1de7ff096ed79fbf86e1e527290.tar.xz
rust-6a0b06e56287f1de7ff096ed79fbf86e1e527290.zip
Rename 'exterior' to 'box' and 'interior' to 'local' (at least wrt. slots; keep MEM_interior for describing interior-parts-of-allocations)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/acyclic-unwind.rs4
-rw-r--r--src/test/run-pass/obj-drop.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/acyclic-unwind.rs b/src/test/run-pass/acyclic-unwind.rs
index b549cffe..192a01f3 100644
--- a/src/test/run-pass/acyclic-unwind.rs
+++ b/src/test/run-pass/acyclic-unwind.rs
@@ -4,10 +4,10 @@ io fn f(chan[int] c)
{
type t = tup(int,int,int);
- // Allocate an exterior.
+ // Allocate a box.
let @t x = tup(1,2,3);
- // Signal parent that we've allocated an exterior.
+ // Signal parent that we've allocated a box.
c <| 1;
while (true) {
diff --git a/src/test/run-pass/obj-drop.rs b/src/test/run-pass/obj-drop.rs
index 6d4ca3d4..ab068b9b 100644
--- a/src/test/run-pass/obj-drop.rs
+++ b/src/test/run-pass/obj-drop.rs
@@ -1,6 +1,6 @@
fn main() {
obj handle(@int i) {
}
- // This just tests whether the obj leaks its exterior state members.
+ // This just tests whether the obj leaks its box state members.
auto ob = handle(0xf00f00);
} \ No newline at end of file