Skip to content

Commit 99c7750

Browse files
committed
auto merge of #6603 : thestinger/rust/whitespace, r=thestinger
2 parents aa82783 + 1789174 commit 99c7750

File tree

12 files changed

+4
-15
lines changed

12 files changed

+4
-15
lines changed

src/librustc/middle/borrowck/check_loans.rs

-1
Original file line numberDiff line numberDiff line change
@@ -816,4 +816,3 @@ fn check_loans_in_block<'a>(blk: &ast::blk,
816816
visit::visit_block(blk, this, vt);
817817
this.check_for_conflicting_loans(blk.node.id);
818818
}
819-

src/librustc/middle/borrowck/gather_loans/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -634,4 +634,3 @@ fn add_stmt_to_map(stmt: @ast::stmt,
634634
}
635635
visit::visit_stmt(stmt, this, vt);
636636
}
637-

src/librustc/middle/borrowck/gather_loans/restrictions.rs

-1
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,3 @@ impl RestrictionsContext {
246246
}
247247
}
248248
}
249-

src/librustc/middle/dataflow.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1062,4 +1062,3 @@ fn reslice<'a>(v: &'a mut [uint]) -> &'a [uint] {
10621062
cast::transmute(v)
10631063
}
10641064
}
1065-

src/librustc/middle/trans/write_guard.rs

-1
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,3 @@ fn perform_write_guard(datum: &Datum,
198198
line],
199199
expr::Ignore)
200200
}
201-

src/librustpkg/rustpkg.rc

-1
Original file line numberDiff line numberDiff line change
@@ -676,4 +676,3 @@ impl PkgSrc {
676676
self.build_crates(maybe_sysroot, dst_dir, &dir, self.benchs, cfgs, Bench);
677677
}
678678
}
679-

src/libsyntax/fold.rs

-1
Original file line numberDiff line numberDiff line change
@@ -858,4 +858,3 @@ impl AstFoldExtensions for @ast_fold {
858858
pub fn make_fold(afp: ast_fold_fns) -> @ast_fold {
859859
afp as @ast_fold
860860
}
861-

src/test/auxiliary/mod_trait_with_static_methods_lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ pub mod sub_foo {
1919
pub fn foo() -> int { 42 }
2020
}
2121
}
22-

src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ fn foo(cond: &fn() -> bool, box: &fn() -> @int) {
1515
loop {
1616
let x = box();
1717

18-
// Here we complain because the resulting region
19-
// of this borrow is the fn body as a whole.
18+
// Here we complain because the resulting region
19+
// of this borrow is the fn body as a whole.
2020
y = borrow(x); //~ ERROR cannot root
2121

2222
assert!(*x == *y);

src/test/run-pass/intrinsic-atomics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod rusti {
1717

1818
pub fn atomic_load(src: &int) -> int;
1919
pub fn atomic_load_acq(src: &int) -> int;
20-
20+
2121
pub fn atomic_store(dst: &mut int, val: int);
2222
pub fn atomic_store_rel(dst: &mut int, val: int);
2323

@@ -42,7 +42,7 @@ pub fn main() {
4242
assert!(rusti::atomic_load(x) == 1);
4343
*x = 5;
4444
assert!(rusti::atomic_load_acq(x) == 5);
45-
45+
4646
rusti::atomic_store(x,3);
4747
assert!(*x == 3);
4848
rusti::atomic_store_rel(x,1);

src/test/run-pass/issue-5353.rs

-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@ fn gl_err_str(err: u32) -> ~str
2222
}
2323

2424
fn main() {}
25-
26-

src/test/run-pass/match-range-static.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ fn main() {
77
_ => (),
88
}
99
}
10-

0 commit comments

Comments
 (0)