mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 20:18:38 -05:00
The poll check now:
- keeps a block condition (`while { r.load(SeqCst) } { ... }`) in the
loop header, so the loop counts as a poll, while a `m! { ... }` macro
before a loop still ends the statement before it;
- strips a loop label (`'outer: while ...`) before looking for the
keyword;
- treats `move || -> () { ... }` as a spawned closure, like `move || {`;
- does not take `return ::std::thread::spawn(...);` as a dropped handle,
since a keyword is not a path segment;
- does not count a nested `fn` item's name as a call in the loop.