mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 12:36:23 +00:00
Update documentation of OnceLock::get_or_init. Explicitly point out that if the function panics the init function might be called multiple times.