Skip to content

Commit 8868b22

Browse files
committed
Fix whitespace.
1 parent a63e0e4 commit 8868b22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/rustc/middle/typeck/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ fn check_expr_with_unifier(fcx: @fn_ctxt,
16991699
};
17001700

17011701
let struct_type = ty::subst(tcx, substitutions, raw_type);
1702-
1702+
17031703
// Look up the class fields and build up a map.
17041704
let class_fields = ty::lookup_class_fields(tcx, class_id);
17051705
let class_field_map = str_hash();

src/test/run-pass/c-stack-returning-int64.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ extern mod libc {
99
}
1010

1111
fn atol(s: ~str) -> int {
12-
ret str::as_buf(s, { |x| libc::atol(x) });
12+
ret str::as_buf(s, { |x, _len| libc::atol(x) });
1313
}
1414

1515
fn atoll(s: ~str) -> i64 {
16-
ret str::as_buf(s, { |x| libc::atoll(x) });
16+
ret str::as_buf(s, { |x, _len| libc::atoll(x) });
1717
}
1818

1919
fn main() {

0 commit comments

Comments
 (0)