minor automated whitespace fixes
This commit is contained in:
parent
24c2be3323
commit
1789174541
@ -816,4 +816,3 @@ fn check_loans_in_block<'a>(blk: &ast::blk,
|
||||
visit::visit_block(blk, this, vt);
|
||||
this.check_for_conflicting_loans(blk.node.id);
|
||||
}
|
||||
|
||||
|
@ -634,4 +634,3 @@ fn add_stmt_to_map(stmt: @ast::stmt,
|
||||
}
|
||||
visit::visit_stmt(stmt, this, vt);
|
||||
}
|
||||
|
||||
|
@ -246,4 +246,3 @@ fn check_no_mutability_control(&self,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1062,4 +1062,3 @@ fn reslice<'a>(v: &'a mut [uint]) -> &'a [uint] {
|
||||
cast::transmute(v)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -198,4 +198,3 @@ fn perform_write_guard(datum: &Datum,
|
||||
line],
|
||||
expr::Ignore)
|
||||
}
|
||||
|
||||
|
@ -676,4 +676,3 @@ impl PkgSrc {
|
||||
self.build_crates(maybe_sysroot, dst_dir, &dir, self.benchs, cfgs, Bench);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -858,4 +858,3 @@ fn fold_attributes(&self, attrs: ~[attribute]) -> ~[attribute] {
|
||||
pub fn make_fold(afp: ast_fold_fns) -> @ast_fold {
|
||||
afp as @ast_fold
|
||||
}
|
||||
|
||||
|
@ -19,4 +19,3 @@ impl Foo for int {
|
||||
pub fn foo() -> int { 42 }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -15,8 +15,8 @@ fn foo(cond: &fn() -> bool, box: &fn() -> @int) {
|
||||
loop {
|
||||
let x = box();
|
||||
|
||||
// Here we complain because the resulting region
|
||||
// of this borrow is the fn body as a whole.
|
||||
// Here we complain because the resulting region
|
||||
// of this borrow is the fn body as a whole.
|
||||
y = borrow(x); //~ ERROR cannot root
|
||||
|
||||
assert!(*x == *y);
|
||||
|
@ -17,7 +17,7 @@ mod rusti {
|
||||
|
||||
pub fn atomic_load(src: &int) -> int;
|
||||
pub fn atomic_load_acq(src: &int) -> int;
|
||||
|
||||
|
||||
pub fn atomic_store(dst: &mut int, val: int);
|
||||
pub fn atomic_store_rel(dst: &mut int, val: int);
|
||||
|
||||
@ -42,7 +42,7 @@ pub fn main() {
|
||||
assert!(rusti::atomic_load(x) == 1);
|
||||
*x = 5;
|
||||
assert!(rusti::atomic_load_acq(x) == 5);
|
||||
|
||||
|
||||
rusti::atomic_store(x,3);
|
||||
assert!(*x == 3);
|
||||
rusti::atomic_store_rel(x,1);
|
||||
|
@ -22,5 +22,3 @@ fn gl_err_str(err: u32) -> ~str
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
||||
|
@ -7,4 +7,3 @@ fn main() {
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user