Skip to content

Commit 6d94979

Browse files
committed
---
yaml --- r: 103996 b: refs/heads/try c: 3844734 h: refs/heads/master v: v3
1 parent 212677e commit 6d94979

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 62f1d68439dcfd509eaca29887afa97f22938373
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5-
refs/heads/try: b029a188205b704fed28d4fbe0037a453ace0ea1
5+
refs/heads/try: 38447344f1f1dc3c3bb0cbcf361deee49e2f9828
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libarena/lib.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -536,18 +536,18 @@ mod test {
536536
x: 1,
537537
y: 2,
538538
z: 3,
539-
});
539+
})
540540
})
541541
}
542542

543543
#[bench]
544544
pub fn bench_pod_nonarena(bh: &mut BenchHarness) {
545545
bh.iter(|| {
546-
let _ = ~Point {
546+
~Point {
547547
x: 1,
548548
y: 2,
549549
z: 3,
550-
};
550+
}
551551
})
552552
}
553553

@@ -561,7 +561,7 @@ mod test {
561561
y: 2,
562562
z: 3,
563563
}
564-
});
564+
})
565565
})
566566
}
567567

@@ -588,28 +588,28 @@ mod test {
588588
arena.alloc(Nonpod {
589589
string: ~"hello world",
590590
array: ~[ 1, 2, 3, 4, 5 ],
591-
});
591+
})
592592
})
593593
}
594594

595595
#[bench]
596596
pub fn bench_nonpod_nonarena(bh: &mut BenchHarness) {
597597
bh.iter(|| {
598-
let _ = ~Nonpod {
598+
~Nonpod {
599599
string: ~"hello world",
600600
array: ~[ 1, 2, 3, 4, 5 ],
601-
};
601+
}
602602
})
603603
}
604604

605605
#[bench]
606606
pub fn bench_nonpod_old_arena(bh: &mut BenchHarness) {
607607
let arena = Arena::new();
608608
bh.iter(|| {
609-
let _ = arena.alloc(|| Nonpod {
609+
arena.alloc(|| Nonpod {
610610
string: ~"hello world",
611611
array: ~[ 1, 2, 3, 4, 5 ],
612-
});
612+
})
613613
})
614614
}
615615
}

0 commit comments

Comments
 (0)