Rollup merge of #121073 - IgorLaborieWefox:patch-1, r=workingjubilee
Fix typos in `OneLock` doc
This commit is contained in:
commit
96635da982
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue