diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-06-23 20:44:11 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-06-29 08:35:48 -0700 |
| commit | b29c36867418ea551b23c767f45454eea4623d79 (patch) | |
| tree | f2b8a856324998d703e256580d25d83c370c12d9 /src/libstd/task | |
| parent | 0326b0abed3fe9045bfc8e84d060115aecdcee37 (diff) | |
| download | rust-b29c36867418ea551b23c767f45454eea4623d79.tar.gz rust-b29c36867418ea551b23c767f45454eea4623d79.zip | |
Removing a lot of usage of '&const'
Diffstat (limited to 'src/libstd/task')
| -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 |
