Skip to content

Commit 3303116

Browse files
committed
fix bench test for arc::arc camelcase
1 parent 61249da commit 3303116

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/bench/graph500-bfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn bfs2(graph: graph, key: node_id) -> bfs_result {
206206
}
207207

208208
/// A parallel version of the bfs function.
209-
fn pbfs(&&graph: arc::arc<graph>, key: node_id) -> bfs_result {
209+
fn pbfs(&&graph: arc::ARC<graph>, key: node_id) -> bfs_result {
210210
// This works by doing functional updates of a color vector.
211211

212212
enum color {

src/test/bench/msgsend-ring-mutex-arcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import std::time;
1414
import std::arc;
1515

1616
// A poor man's pipe.
17-
type pipe = arc::mutex_arc<~[uint]>;
17+
type pipe = arc::MutexARC<~[uint]>;
1818

1919
fn send(p: &pipe, msg: uint) {
2020
do p.access_cond |state, cond| {

src/test/bench/msgsend-ring-rw-arcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import std::time;
1414
import std::arc;
1515

1616
// A poor man's pipe.
17-
type pipe = arc::rw_arc<~[uint]>;
17+
type pipe = arc::RWARC<~[uint]>;
1818

1919
fn send(p: &pipe, msg: uint) {
2020
do p.write_cond |state, cond| {

0 commit comments

Comments
 (0)