Skip to content

Commit b06f891

Browse files
Fix typos in OneLock doc
1 parent 7508c3e commit b06f891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/once_lock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use crate::sync::Once;
1313
///
1414
/// # Examples
1515
///
16-
/// Using `OnceCell` to store a function’s previously computed value (a.k.a.
16+
/// Using `OnceLock` to store a function’s previously computed value (a.k.a.
1717
/// ‘lazy static’ or ‘memoizing’):
1818
///
1919
/// ```

0 commit comments

Comments
 (0)