From 557c7f8cdd37192c4451a866572db8c1ccc6662b Mon Sep 17 00:00:00 2001
From: Xinye <xinye.tao@metabit-trading.com>
Date: Thu, 7 Nov 2024 10:51:00 +0800
Subject: [PATCH] fix lazylock comment

Signed-off-by: Xinye <xinye.tao@metabit-trading.com>
---
 library/std/src/sync/lazy_lock.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/library/std/src/sync/lazy_lock.rs b/library/std/src/sync/lazy_lock.rs
index b05615035d7b1..40510f5613450 100644
--- a/library/std/src/sync/lazy_lock.rs
+++ b/library/std/src/sync/lazy_lock.rs
@@ -226,7 +226,7 @@ impl<T, F: FnOnce() -> T> LazyLock<T, F> {
 }
 
 impl<T, F> LazyLock<T, F> {
-    /// Returns a reference to the value if initialized, or `None` if not.
+    /// Returns a mutable reference to the value if initialized, or `None` if not.
     ///
     /// # Examples
     ///
@@ -255,7 +255,7 @@ impl<T, F> LazyLock<T, F> {
         }
     }
 
-    /// Returns a mutable reference to the value if initialized, or `None` if not.
+    /// Returns a reference to the value if initialized, or `None` if not.
     ///
     /// # Examples
     ///