Skip to content

Commit 9a8d4ad

Browse files
committed
Long lines
1 parent eba5eea commit 9a8d4ad

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/libcore/task/spawn.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,9 @@ fn gen_child_taskgroup(linked: bool, supervised: bool)
451451
// it should be enabled only in debug builds.
452452
let new_generation =
453453
match *old_ancestors {
454-
Some(ref arc) => access_ancestors(arc, |a| a.generation+1),
454+
Some(ref arc) => {
455+
access_ancestors(arc, |a| a.generation+1)
456+
}
455457
None => 0 // the actual value doesn't really matter.
456458
};
457459
assert new_generation < uint::max_value;

src/rustc/back/link.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ mod write {
225225

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

228-
if sess.time_llvm_passes() { llvm::LLVMRustPrintPassTimings(); }
228+
if sess.time_llvm_passes() {
229+
llvm::LLVMRustPrintPassTimings();
230+
}
229231
return;
230232
}
231233

0 commit comments

Comments
 (0)