about summary refs log tree commit diff
path: root/src/libstd/task/spawn.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-29 12:02:05 -0700
committerbors <bors@rust-lang.org>2013-06-29 12:02:05 -0700
commitc86df3a65cc239fd69b9a8d628808498cdb07e0d (patch)
treeb2557de482d3c0946cd683bd92dff65a1adf15f4 /src/libstd/task/spawn.rs
parent88830996d811be3ff833ba590c98f28daaf31f43 (diff)
parent3bad7129ebb13d7a4c0a7965aeb5bd536cc0f5f0 (diff)
downloadrust-c86df3a65cc239fd69b9a8d628808498cdb07e0d.tar.gz
rust-c86df3a65cc239fd69b9a8d628808498cdb07e0d.zip
auto merge of #7342 : alexcrichton/rust/assort-cleanup, r=cmr
This removes usage of `&const` throughout the standard libraries/compiler, and it removes some extraneous fields in the AST now that unique boxes always inherit their mutability.
Diffstat (limited to 'src/libstd/task/spawn.rs')
-rw-r--r--src/libstd/task/spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs
index c932a9660c2..190485a720a 100644
--- a/src/libstd/task/spawn.rs
+++ b/src/libstd/task/spawn.rs
@@ -129,7 +129,7 @@ type TaskGroupInner<'self> = &'self mut Option<TaskGroupData>;
 
 // A taskgroup is 'dead' when nothing can cause it to fail; only members can.
 fn taskgroup_is_dead(tg: &TaskGroupData) -> bool {
-    (&const tg.members).is_empty()
+    tg.members.is_empty()
 }
 
 // A list-like structure by which taskgroups keep track of all ancestor groups