Skip to content

Commit

Permalink
Long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Sep 29, 2012
1 parent eba5eea commit 9a8d4ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/libcore/task/spawn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,9 @@ fn gen_child_taskgroup(linked: bool, supervised: bool)
// it should be enabled only in debug builds.
let new_generation =
match *old_ancestors {
Some(ref arc) => access_ancestors(arc, |a| a.generation+1),
Some(ref arc) => {
access_ancestors(arc, |a| a.generation+1)
}
None => 0 // the actual value doesn't really matter.
};
assert new_generation < uint::max_value;
Expand Down
4 changes: 3 additions & 1 deletion src/rustc/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ mod write {

jit::exec(sess, pm.llpm, llmod, CodeGenOptLevel, true);

if sess.time_llvm_passes() { llvm::LLVMRustPrintPassTimings(); }
if sess.time_llvm_passes() {
llvm::LLVMRustPrintPassTimings();
}
return;
}

Expand Down

0 comments on commit 9a8d4ad

Please sign in to comment.