Skip to content

Commit

Permalink
Rollup merge of rust-lang#121073 - IgorLaborieWefox:patch-1, r=workin…
Browse files Browse the repository at this point in the history
…gjubilee

Fix typos in `OneLock` doc
  • Loading branch information
oli-obk authored Feb 14, 2024
2 parents 638f525 + b06f891 commit 96635da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/once_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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’):
///
/// ```
Expand Down

0 comments on commit 96635da

Please sign in to comment.