about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBen Striegel <ben.striegel@gmail.com>2012-10-10 00:28:04 -0400
committerBrian Anderson <banderson@mozilla.com>2012-10-20 17:50:46 -0700
commitac81fff22926d464f7a90f14c4c8f846569e75e0 (patch)
treecc94e2558cdea7c88c56c4125b56556e1dc40419 /src/libstd
parent4174688dd48f4967e08c0aecc7a2a90dc28a56da (diff)
Remove old fixed-length vector syntax
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/arena.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/arena.rs b/src/libstd/arena.rs
index 6a2ac88f714..9f40794b28a 100644
--- a/src/libstd/arena.rs
+++ b/src/libstd/arena.rs
@@ -244,7 +244,7 @@ fn test_arena_destructors() {
         do arena.alloc { @i };
         // Allocate something with funny size and alignment, to keep
         // things interesting.
-        do arena.alloc { [0u8, 1u8, 2u8]/3 };
+        do arena.alloc { [0u8, 1u8, 2u8] };
     }
 }
 
@@ -258,7 +258,7 @@ fn test_arena_destructors_fail() {
         do arena.alloc { @i };
         // Allocate something with funny size and alignment, to keep
         // things interesting.
-        do arena.alloc { [0u8, 1u8, 2u8]/3 };
+        do arena.alloc { [0u8, 1u8, 2u8] };
     }
     // Now, fail while allocating
     do arena.alloc::<@int> {