about summary refs log tree commit diff
path: root/src/libcore/task/spawn.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-28 17:30:40 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-28 17:30:40 -0700
commit9a8d4adb7decf774bbb87c7a8415c1a95fe1825b (patch)
tree1b5a552dbead6bdee44527044d6545886f39c9ef /src/libcore/task/spawn.rs
parenteba5eeaef843d9f2a8b84926ba12dfa84d6d3541 (diff)
downloadrust-9a8d4adb7decf774bbb87c7a8415c1a95fe1825b.tar.gz
rust-9a8d4adb7decf774bbb87c7a8415c1a95fe1825b.zip
Long lines
Diffstat (limited to 'src/libcore/task/spawn.rs')
-rw-r--r--src/libcore/task/spawn.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcore/task/spawn.rs b/src/libcore/task/spawn.rs
index 33e711ce9ac..7ae4c7b0950 100644
--- a/src/libcore/task/spawn.rs
+++ b/src/libcore/task/spawn.rs
@@ -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;