Skip to content

Commit 82ec38e

Browse files
committed
Fix typo in AtomicBool.swift
1 parent 8e96210 commit 82ec38e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/Synchronization/Atomics/AtomicBool.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ extension Atomic where Value == Bool {
7777
///
7878
/// - Parameter operand: A boolean value.
7979
/// - Parameter ordering: The memory ordering to apply on this operation.
80-
/// - Returns: A tuple with the old value before the operation a the new value
80+
/// - Returns: A tuple with the old value before the operation and the new value
8181
/// after the operation.
8282
@available(SwiftStdlib 6.0, *)
8383
@discardableResult
@@ -135,7 +135,7 @@ extension Atomic where Value == Bool {
135135
///
136136
/// - Parameter operand: A boolean value.
137137
/// - Parameter ordering: The memory ordering to apply on this operation.
138-
/// - Returns: A tuple with the old value before the operation a the new value
138+
/// - Returns: A tuple with the old value before the operation and the new value
139139
/// after the operation.
140140
@available(SwiftStdlib 6.0, *)
141141
@discardableResult
@@ -193,7 +193,7 @@ extension Atomic where Value == Bool {
193193
///
194194
/// - Parameter operand: A boolean value.
195195
/// - Parameter ordering: The memory ordering to apply on this operation.
196-
/// - Returns: A tuple with the old value before the operation a the new value
196+
/// - Returns: A tuple with the old value before the operation and the new value
197197
/// after the operation.
198198
@available(SwiftStdlib 6.0, *)
199199
@discardableResult

0 commit comments

Comments
 (0)