diff options
| author | Graydon Hoare <[email protected]> | 2010-06-30 22:45:54 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-06-30 22:45:54 -0700 |
| commit | 6a0b06e56287f1de7ff096ed79fbf86e1e527290 (patch) | |
| tree | 5596e1e36c3f59dc7f25c84730705aaf28128a0b /src/test | |
| parent | No more "transplant" behavior in "let @x = y", gotta box explicitly. (diff) | |
| download | rust-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.rs | 4 | ||||
| -rw-r--r-- | src/test/run-pass/obj-drop.rs | 2 |
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 |