Fix typos in OneLock doc
This commit is contained in:
@@ -13,7 +13,7 @@ use crate::sync::Once;
|
|||||||
///
|
///
|
||||||
/// # Examples
|
/// # 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’):
|
/// ‘lazy static’ or ‘memoizing’):
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
|||||||
Reference in New Issue
Block a user