Skip to content

Commit 9de84bc

Browse files
committed
---
yaml --- r: 149018 b: refs/heads/try2 c: 3844734 h: refs/heads/master v: v3
1 parent 6505e41 commit 9de84bc

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: b029a188205b704fed28d4fbe0037a453ace0ea1
8+
refs/heads/try2: 38447344f1f1dc3c3bb0cbcf361deee49e2f9828
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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)