How to use Rust OnceLock get_mut() method?
The Rust documentation has a get_mut() method for OnceLock that returns a mutable reference. But the following code does not compile. What am I missing ?
The Rust documentation has a get_mut() method for OnceLock that returns a mutable reference. But the following code does not compile. What am I missing ?