From 671501b16d6ab4ac2a25e17b47cb3f4779eaaf08 Mon Sep 17 00:00:00 2001 From: sergerad Date: Wed, 4 Sep 2024 16:16:32 +1200 Subject: [PATCH] Fix comment --- core/src/utils/sync/racy_lock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/utils/sync/racy_lock.rs b/core/src/utils/sync/racy_lock.rs index df3a7f264..77f7defd4 100644 --- a/core/src/utils/sync/racy_lock.rs +++ b/core/src/utils/sync/racy_lock.rs @@ -69,7 +69,7 @@ where } impl Default for RacyLock { - /// Creates a new lock that will evaluate the underlying value base on `T::default`. + /// Creates a new lock that will evaluate the underlying value based on `T::default`. #[inline] fn default() -> RacyLock { RacyLock::new(T::default)