Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Sep 4, 2024
1 parent 4e18021 commit 671501b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/utils/sync/racy_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ where
}

impl<T: Default> Default for RacyLock<T> {
/// 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<T> {
RacyLock::new(T::default)
Expand Down

0 comments on commit 671501b

Please sign in to comment.