Anyone working on #rustlang crossbeam, I have some (possibly stupid) questions: a) Do we still need to box the `Fn`s, now that we have `PinMut` (at least on nightly), and b) would NLL help with allowin ùsing `Scope` mutably? (for now it uses a RefCell for joins)
-
-
b) I don't think so. Note that `Scope::spawn` returns a `ScopedJoinHandle<'scope, T>`, which means it borrows the scope. If `Scope::spawn` took a mutable reference to `Scope`, that would lead to borrowing problems even with NLL.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.