Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5e13d19

Browse files
committedJan 24, 2012
s/block()/fn()/g
1 parent 04351a8 commit 5e13d19

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+152
-155
lines changed
 

‎src/cargo/cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ fn configure() -> cargo {
349349
c
350350
}
351351

352-
fn for_each_package(c: cargo, b: block(source, package)) {
352+
fn for_each_package(c: cargo, b: fn(source, package)) {
353353
c.sources.values({ |v|
354354
for p in copy v.packages {
355355
b(v, p);

‎src/comp/metadata/cstore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn have_crate_data(cstore: cstore, cnum: ast::crate_num) -> bool {
9393
ret p(cstore).metas.contains_key(cnum);
9494
}
9595

96-
fn iter_crate_data(cstore: cstore, i: block(ast::crate_num, crate_metadata)) {
96+
fn iter_crate_data(cstore: cstore, i: fn(ast::crate_num, crate_metadata)) {
9797
p(cstore).metas.items {|k,v| i(k, v);};
9898
}
9999

0 commit comments

Comments
 (0)
Please sign in to comment.