I could have used a Mutex then cast the `&Mutex` to `&mut Mutex` so that I could call `.get_mut()`. But this didn't seem simpler.
Because unsafe introduces conceptual complications and it seemed to be simpler to avoid that in an example.