From b06f89187b2d691d8c33e01136c4f0509fea7ff9 Mon Sep 17 00:00:00 2001 From: Igor <107038080+IgorLaborieWefox@users.noreply.github.com> Date: Wed, 14 Feb 2024 07:41:28 +0100 Subject: [PATCH] Fix typos in `OneLock` doc --- library/std/src/sync/once_lock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sync/once_lock.rs b/library/std/src/sync/once_lock.rs index b8873a3b59a0b..6d068613f8f30 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’): /// /// ```