3 ms·
> OTOH in Rust, the thread-safety information is attached to data types, not functions. That’s not entirely true, in the sense that you can have non-threadsafe
by masklinn 5y ago
> OTOH in Rust, the thread-safety information is attached to data types, not functions.
That’s not entirely true, in the sense that you can have non-threadsafe functions operating on thread-safe types e.g. Mutex::get_mut.