From std::lib::task:
alt notify {
some(c) {
(**task_ptr).notify_enabled = 1u8;
(**task_ptr).notify_chan = *c;
}
none {}
};
(*regs).esp = align_down((*regs).esp - 12u32) - 4u32;
Without the trailing semi, the parens are interpreted as a function call. The pretty-printer can't figure out to put the semi there (it does know how to disambiguate alts followed by unops).
From std::lib::task:
Without the trailing semi, the parens are interpreted as a function call. The pretty-printer can't figure out to put the semi there (it does know how to disambiguate alts followed by unops).