Skip Navigation

In Rust 1.73.0, it'll be easier to use thread_local Cells and RefCells

hachyderm.io Mara (@Mara@hachyderm.io)

Attached: 1 image 🦀 In #rustlang 1.73.0 (to be released on October 5th), it'll be easier to use thread_local Cells and RefCells: the set, get, replace, take, and with_borrow[_mut] methods will be directly available on the thread local, removing the need for the usual `.with(|_| …)` pattern: 1/2

Mara (@Mara@hachyderm.io)
3
3 comments