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 042bab8

Browse files
committedNov 20, 2013
auto merge of #10572 : pcwalton/rust/more-bars, r=alexcrichton
r? @alexcrichton
2 parents c159acb + 2049016 commit 042bab8

File tree

145 files changed

+249
-256
lines changed

Some content is hidden

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

145 files changed

+249
-256
lines changed
 

‎src/test/auxiliary/cci_impl_lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
#[link(name="cci_impl_lib", vers="0.0")];
1212

1313
trait uint_helpers {
14-
fn to(&self, v: uint, f: &fn(uint));
14+
fn to(&self, v: uint, f: |uint|);
1515
}
1616

1717
impl uint_helpers for uint {
1818
#[inline]
19-
fn to(&self, v: uint, f: &fn(uint)) {
19+
fn to(&self, v: uint, f: |uint|) {
2020
let mut i = *self;
2121
while i < v {
2222
f(i);

‎src/test/auxiliary/cci_iter_lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#[link(name="cci_iter_lib", vers="0.0")];
1212

1313
#[inline]
14-
pub fn iter<T>(v: &[T], f: &fn(&T)) {
14+
pub fn iter<T>(v: &[T], f: |&T|) {
1515
let mut i = 0u;
1616
let n = v.len();
1717
while i < n {

0 commit comments

Comments
 (0)
Please sign in to comment.