Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lucteo committed Jan 2, 2025
1 parent 8a387ff commit 485db41
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions StandardLibrary/Sources/LowLevel/Threading/PlatformAtomics.hylo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 485db41

Please sign in to comment.