minor automated whitespace fixes

This commit is contained in:
Daniel Micay 2013-05-18 22:40:12 -04:00
parent 24c2be3323
commit 1789174541
12 changed files with 4 additions and 15 deletions

View File

@ -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);
}

View File

@ -634,4 +634,3 @@ fn add_stmt_to_map(stmt: @ast::stmt,
}
visit::visit_stmt(stmt, this, vt);
}

View File

@ -246,4 +246,3 @@ fn check_no_mutability_control(&self,
}
}
}

View File

@ -1062,4 +1062,3 @@ fn reslice<'a>(v: &'a mut [uint]) -> &'a [uint] {
cast::transmute(v)
}
}

View File

@ -198,4 +198,3 @@ fn perform_write_guard(datum: &Datum,
line],
expr::Ignore)
}

View File

@ -676,4 +676,3 @@ impl PkgSrc {
self.build_crates(maybe_sysroot, dst_dir, &dir, self.benchs, cfgs, Bench);
}
}

View File

@ -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
}

View File

@ -19,4 +19,3 @@ impl Foo for int {
pub fn foo() -> int { 42 }
}
}

View File

@ -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);

View File

@ -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);

View File

@ -22,5 +22,3 @@ fn gl_err_str(err: u32) -> ~str
}
fn main() {}

View File

@ -7,4 +7,3 @@ fn main() {
_ => (),
}
}