diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-01 15:57:17 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:59:03 +1100 |
| commit | 2ed980fe253d0b7103ff0b16ce2aeecb03f09203 (patch) | |
| tree | 7c4892e371519a81effee35d982f4caaf0b23453 /src/libstd/rt | |
| parent | e0c1707560d02bb5805b33cb17e8abfc339eb16b (diff) | |
| download | rust-2ed980fe253d0b7103ff0b16ce2aeecb03f09203.tar.gz rust-2ed980fe253d0b7103ff0b16ce2aeecb03f09203.zip | |
std,extra: remove use of & support for @[].
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/local_heap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/local_heap.rs b/src/libstd/rt/local_heap.rs index 42a7e7867f9..79936b4afad 100644 --- a/src/libstd/rt/local_heap.rs +++ b/src/libstd/rt/local_heap.rs @@ -332,6 +332,6 @@ mod bench { #[bench] fn alloc_managed_big(bh: &mut BenchHarness) { - bh.iter(|| { @[10, ..1000]; }); + bh.iter(|| { @([10, ..1000]); }); } } |
