Hacker News new | ask | show | jobs
by Rusky 3143 days ago
For cases where you need more than one mutable reference, you can use `Cell` (single-threaded) or atomics, which allow mutation through shared references.