Fix typos in OneLock doc

This commit is contained in:
Igor 2024-02-14 07:41:28 +01:00 committed by GitHub
parent 7508c3e4c1
commit b06f89187b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ use crate::sync::Once;
///
/// # Examples
///
/// Using `OnceCell` to store a functions previously computed value (a.k.a.
/// Using `OnceLock` to store a functions previously computed value (a.k.a.
/// lazy static or memoizing):
///
/// ```