diff options
| author | Igor <107038080+IgorLaborieWefox@users.noreply.github.com> | 2024-02-14 07:41:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 07:41:28 +0100 |
| commit | b06f89187b2d691d8c33e01136c4f0509fea7ff9 (patch) | |
| tree | 627498e8cab29e2faf278973ec77c72b59900309 | |
| parent | 7508c3e4c1349e3dd405547bc7dd8d9549e105b6 (diff) | |
| download | rust-b06f89187b2d691d8c33e01136c4f0509fea7ff9.tar.gz rust-b06f89187b2d691d8c33e01136c4f0509fea7ff9.zip | |
Fix typos in `OneLock` doc
| -rw-r--r-- | library/std/src/sync/once_lock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/once_lock.rs b/library/std/src/sync/once_lock.rs index b8873a3b59a..6d068613f8f 100644 --- a/library/std/src/sync/once_lock.rs +++ b/library/std/src/sync/once_lock.rs @@ -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’): /// /// ``` |
