From 485db41d40e4ec1f496863230cdae5eb3f7e3f11 Mon Sep 17 00:00:00 2001 From: Lucian Radu Teodorescu Date: Thu, 2 Jan 2025 11:08:03 +0200 Subject: [PATCH] Fix typos --- .../LowLevel/Threading/AtomicOrderings.hylo | 6 +++--- .../LowLevel/Threading/PlatformAtomics.hylo | 16 ++++++++-------- .../LowLevel/Threading/PlatformAtomics.hylo.gyb | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/StandardLibrary/Sources/LowLevel/Threading/AtomicOrderings.hylo b/StandardLibrary/Sources/LowLevel/Threading/AtomicOrderings.hylo index 0eec39a09..442e38678 100644 --- a/StandardLibrary/Sources/LowLevel/Threading/AtomicOrderings.hylo +++ b/StandardLibrary/Sources/LowLevel/Threading/AtomicOrderings.hylo @@ -1,4 +1,4 @@ -/// Specifies the memory ordering sematics for an atomic load operation. +/// Specifies the memory ordering semantics for an atomic load operation. public type AtomicLoadOrdering: Regular { public memberwise init @@ -38,7 +38,7 @@ public extension AtomicLoadOrdering { } -/// Specifies the memory ordering sematics for an atomic store operation. +/// Specifies the memory ordering semantics for an atomic store operation. public type AtomicStoreOrdering: Regular { public memberwise init @@ -78,7 +78,7 @@ public extension AtomicStoreOrdering { } -/// Specifies the memory ordering sematics for an atomic read-modify-write (update) operation. +/// Specifies the memory ordering semantics for an atomic read-modify-write (update) operation. public type AtomicUpdateOrdering: Regular { public memberwise init diff --git a/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo b/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo index 7aa5aa454..26aa82448 100644 --- a/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo +++ b/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo @@ -6,7 +6,7 @@ /// An atomic representation of Int. public type IntAtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: Int public memberwise init @@ -371,7 +371,7 @@ public conformance IntAtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of Int8. public type Int8AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: Int8 public memberwise init @@ -736,7 +736,7 @@ public conformance Int8AtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of Int32. public type Int32AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: Int32 public memberwise init @@ -1101,7 +1101,7 @@ public conformance Int32AtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of Int64. public type Int64AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: Int64 public memberwise init @@ -1466,7 +1466,7 @@ public conformance Int64AtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of UInt. public type UIntAtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: UInt public memberwise init @@ -1831,7 +1831,7 @@ public conformance UIntAtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of UInt8. public type UInt8AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: UInt8 public memberwise init @@ -2196,7 +2196,7 @@ public conformance UInt8AtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of UInt32. public type UInt32AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: UInt32 public memberwise init @@ -2561,7 +2561,7 @@ public conformance UInt32AtomicRepresentation: IntegerPlatformAtomic { /// An atomic representation of UInt64. public type UInt64AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: UInt64 public memberwise init diff --git a/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo.gyb b/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo.gyb index c11dd2b6c..abdeda402 100644 --- a/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo.gyb +++ b/StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo.gyb @@ -11,7 +11,7 @@ /// An atomic representation of ${type}. public type ${type}AtomicRepresentation: Regular { - /// The undelying value, for which we expose atomic operations. + /// The underlying value, for which we expose atomic operations. internal let value: ${type} public memberwise init