]> git.lizzy.rs Git - rust.git/commitdiff
minor automated whitespace fixes
authorDaniel Micay <danielmicay@gmail.com>
Sun, 19 May 2013 02:40:12 +0000 (22:40 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Sun, 19 May 2013 02:40:12 +0000 (22:40 -0400)
12 files changed:
src/librustc/middle/borrowck/check_loans.rs
src/librustc/middle/borrowck/gather_loans/mod.rs
src/librustc/middle/borrowck/gather_loans/restrictions.rs
src/librustc/middle/dataflow.rs
src/librustc/middle/trans/write_guard.rs
src/librustpkg/rustpkg.rc
src/libsyntax/fold.rs
src/test/auxiliary/mod_trait_with_static_methods_lib.rs
src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs
src/test/run-pass/intrinsic-atomics.rs
src/test/run-pass/issue-5353.rs
src/test/run-pass/match-range-static.rs

index 2f24a8ceb24654a407a1b9c736f6dd2eff9693b7..b33b64921b40637ad2cb9a811e0c4c24f8aaf735 100644 (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);
 }
-
index 64d32d713d0da39778d44632060d8a37ba78b6ea..0db7b4880e758aa08107ac8a44344f22d33daaf2 100644 (file)
@@ -634,4 +634,3 @@ fn add_stmt_to_map(stmt: @ast::stmt,
     }
     visit::visit_stmt(stmt, this, vt);
 }
-
index 0be4c67a9bc910ddd980ab4d340f0f100c49da97..3760350dc268c4e4b2e3878dc85fe565282fa1d7 100644 (file)
@@ -246,4 +246,3 @@ fn check_no_mutability_control(&self,
         }
     }
 }
-
index 31d22b76800c1c6373c76e87048ec229bf464225..648daaf3cd1d3cd83521d006c0077ff98b2ef050 100644 (file)
@@ -1062,4 +1062,3 @@ fn reslice<'a>(v: &'a mut [uint]) -> &'a [uint] {
         cast::transmute(v)
     }
 }
-
index 18f21b489b0b80ac7e437d546071e11879d02d24..8a6b4acac8eabb3d1ee1c3d985fcc57594de7284 100644 (file)
@@ -198,4 +198,3 @@ fn perform_write_guard(datum: &Datum,
           line],
         expr::Ignore)
 }
-
index a69613776efdc4ac8abb597cc44f0f0b33645e51..c5531fbd1158be7666d1b7dbbac612ffcf6875b7 100644 (file)
@@ -676,4 +676,3 @@ impl PkgSrc {
         self.build_crates(maybe_sysroot, dst_dir, &dir, self.benchs, cfgs, Bench);
     }
 }
-
index 275a7b963a4bf8602ab93db12be4b9229772b54d..8b657b13fa9d2096486b431c95f8e4915594ee17 100644 (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
 }
-
index b060c7aee49a2a539ce4cfbbf44a7213caf358d0..2099c6a2f2f2fea61c7bd4865e608cb80000b945 100644 (file)
@@ -19,4 +19,3 @@ impl Foo for int {
         pub fn foo() -> int { 42 }
     }
 }
-
index 50ac5f65772fc80c2e564b8aeef08c335c7619d4..3b88c634598b1f5a9b345fc72a2ec085142de31b 100644 (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);
index d4701f74488c8d9595b35455177fa0bca02c6615..4105e6003b55c10393ead308359326dfeafe09a7 100644 (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);
index f933b616119fa77f8a91686a960dd4d0d85c7cfc..cc1bb2dd037382ab17c22bb4cc730fd5381f84b6 100644 (file)
@@ -22,5 +22,3 @@ fn gl_err_str(err: u32) -> ~str
 }
 
 fn main() {}
-
-
index 3eefc386250ed3e8d44ecceae39ab98d19a4e52b..aa216b8d05487d3d0a6e344e155d6bd6f2a96258 100644 (file)
@@ -7,4 +7,3 @@ fn main() {
         _ => (),
     }
 }
-