about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-14 12:21:51 -0800
committerbors <bors@rust-lang.org>2014-02-14 12:21:51 -0800
commit3f717bbe96014c04c4c439ed0b0975ca36a73e53 (patch)
tree8efaf70dc83bb23098e7d0e47a65cdeb963bba8a /src/libstd/rt
parent994747022a45b5c2b03f38dddbe8b43bf09679f3 (diff)
parent2f8dbf210215039f39a80424d9c43f96ff79dad4 (diff)
downloadrust-3f717bbe96014c04c4c439ed0b0975ca36a73e53.tar.gz
rust-3f717bbe96014c04c4c439ed0b0975ca36a73e53.zip
auto merge of #12267 : alexcrichton/rust/rollup, r=alexcrichton
The last commit has the closed PRs
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/global_heap.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/global_heap.rs b/src/libstd/rt/global_heap.rs
index 4bce16706ee..ab279fd3102 100644
--- a/src/libstd/rt/global_heap.rs
+++ b/src/libstd/rt/global_heap.rs
@@ -112,14 +112,14 @@ mod bench {
     #[bench]
     fn alloc_owned_small(bh: &mut BenchHarness) {
         bh.iter(|| {
-            ~10;
+            ~10
         })
     }
 
     #[bench]
     fn alloc_owned_big(bh: &mut BenchHarness) {
         bh.iter(|| {
-            ~[10, ..1000];
+            ~[10, ..1000]
         })
     }
 }