diff options
| author | bors <bors@rust-lang.org> | 2013-06-29 12:02:05 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-29 12:02:05 -0700 |
| commit | c86df3a65cc239fd69b9a8d628808498cdb07e0d (patch) | |
| tree | b2557de482d3c0946cd683bd92dff65a1adf15f4 /src/libstd/task/spawn.rs | |
| parent | 88830996d811be3ff833ba590c98f28daaf31f43 (diff) | |
| parent | 3bad7129ebb13d7a4c0a7965aeb5bd536cc0f5f0 (diff) | |
| download | rust-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.rs | 2 |
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 |
