Skip to content

Commit 6ac99f3

Browse files
committed
---
yaml --- r: 64301 b: refs/heads/snap-stage3 c: 0e882f2 h: refs/heads/master i: 64299: a55bf46 v: v3
1 parent 08b9837 commit 6ac99f3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6b37b5bab74a87c4f05274e6a49d9e28a4c0f4e1
4+
refs/heads/snap-stage3: 0e882f2bbda58e8271ff25c1467a35fc3ff26dd4
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/bench/core-map.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn timed(label: &str, f: &fn()) {
2727
io::println(fmt!(" %s: %f", label, end - start));
2828
}
2929

30-
fn ascending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
30+
fn ascending<M: MutableMap<uint, uint>>(map: &mut M, n_keys: uint) {
3131
io::println(" Ascending integers:");
3232

3333
do timed("insert") {
@@ -49,7 +49,7 @@ fn ascending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
4949
}
5050
}
5151

52-
fn descending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
52+
fn descending<M: MutableMap<uint, uint>>(map: &mut M, n_keys: uint) {
5353
io::println(" Descending integers:");
5454

5555
do timed("insert") {
@@ -71,7 +71,7 @@ fn descending<M: Map<uint, uint>>(map: &mut M, n_keys: uint) {
7171
}
7272
}
7373

74-
fn vector<M: Map<uint, uint>>(map: &mut M, n_keys: uint, dist: &[uint]) {
74+
fn vector<M: MutableMap<uint, uint>>(map: &mut M, n_keys: uint, dist: &[uint]) {
7575

7676
do timed("insert") {
7777
for uint::range(0, n_keys) |i| {

branches/snap-stage3/src/test/bench/core-set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn timed(result: &mut float, op: &fn()) {
3636
}
3737

3838
impl Results {
39-
pub fn bench_int<T:Set<uint>,
39+
pub fn bench_int<T:MutableSet<uint>,
4040
R: rand::Rng>(
4141
&mut self,
4242
rng: &mut R,
@@ -79,7 +79,7 @@ impl Results {
7979
}
8080
}
8181

82-
pub fn bench_str<T:Set<~str>,
82+
pub fn bench_str<T:MutableSet<~str>,
8383
R:rand::Rng>(
8484
&mut self,
8585
rng: &mut R,

0 commit comments

Comments
 (0)