diff options
| author | Michael Sullivan <sully@msully.net> | 2012-06-25 20:00:46 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-06-25 20:00:46 -0700 |
| commit | 329eca6044fdf376a7a89ec7a96dba7a8b884cf7 (patch) | |
| tree | 7008814278a066914b6ba36818388d5212ffda9f /src/test/run-pass/mutable-vec-drop.rs | |
| parent | c087aaf56b1109163126fea4c2760f8414ffbe56 (diff) | |
| download | rust-329eca6044fdf376a7a89ec7a96dba7a8b884cf7.tar.gz rust-329eca6044fdf376a7a89ec7a96dba7a8b884cf7.zip | |
Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.
Diffstat (limited to 'src/test/run-pass/mutable-vec-drop.rs')
| -rw-r--r-- | src/test/run-pass/mutable-vec-drop.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/mutable-vec-drop.rs b/src/test/run-pass/mutable-vec-drop.rs index 2b1433d8a65..b7aa4278b49 100644 --- a/src/test/run-pass/mutable-vec-drop.rs +++ b/src/test/run-pass/mutable-vec-drop.rs @@ -1,6 +1,6 @@ fn main() { // This just tests whether the vec leaks its members. - let pvec: [mut @{a: int, b: int}] = - [mut @{a: 1, b: 2}, @{a: 3, b: 4}, @{a: 5, b: 6}]; + let pvec: [mut @{a: int, b: int}]/~ = + [mut @{a: 1, b: 2}, @{a: 3, b: 4}, @{a: 5, b: 6}]/~; } |
