Removing a lot of usage of '&const'

This commit is contained in:
Alex Crichton
2013-06-23 20:44:11 -07:00
parent 0326b0abed
commit b29c368674
17 changed files with 105 additions and 137 deletions

View File

@@ -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