Skip to content

Commit 436947e

Browse files
Update libc/src/__support/aba_ptr.h
Co-authored-by: Copilot <[email protected]>
1 parent 7bb7c6d commit 436947e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/aba_ptr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ template <class T, bool IsAtomic> struct AbaPtrImpl {
6363

6464
LIBC_INLINE T *get() const {
6565
if constexpr (IsAtomic) {
66-
// Weak micro-architectures typically reguards simultaneous partial word
66+
// Weak micro-architectures typically regards simultaneous partial word
6767
// loading and full word loading as a race condition. While there are
6868
// implementations that uses racy read anyway, we still load the whole
6969
// word to avoid any complications.

0 commit comments

Comments
 (0)