Fix typos in OneLock
doc
This commit is contained in:
parent
7508c3e4c1
commit
b06f89187b
1 changed files with 1 additions and 1 deletions
|
@ -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’):
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue