mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
Fix typos in OneLock
doc
This commit is contained in:
parent
7508c3e4c1
commit
b06f89187b
@ -13,7 +13,7 @@ use crate::sync::Once;
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Using `OnceCell` to store a function’s previously computed value (a.k.a.
|
||||
/// Using `OnceLock` to store a function’s previously computed value (a.k.a.
|
||||
/// ‘lazy static’ or ‘memoizing’):
|
||||
///
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user