Skip to content

Commit

Permalink
Fix typos in OneLock doc
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorLaborieWefox authored Feb 14, 2024
1 parent 7508c3e commit b06f891
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 b06f891

Please sign in to comment.