mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
8186b71fb4
Update documentation of OnceLock::get_or_init. Explicitly point out that if the function panics the init function might be called multiple times.