Skip to content

Commit 6c2f04d

Browse files
authored
Merge pull request #84367 from valeriyvan/representation
Fix doc comment to make it match code
2 parents 3939650 + 21837be commit 6c2f04d

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

stdlib/public/Synchronization/Atomics/AtomicFloats.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extension Float16: AtomicRepresentable {
4949
/// representation used in atomic operations back into the logical type for
5050
/// normal use, `Self`.
5151
///
52-
/// - Parameter storage: The storage representation for `Self` that's used
52+
/// - Parameter representation: The storage representation for `Self` that's used
5353
/// within atomic operations.
5454
/// - Returns: The newly decoded logical type `Self`.
5555
@available(SwiftStdlib 6.0, *)
@@ -101,7 +101,7 @@ extension Float: AtomicRepresentable {
101101
/// representation used in atomic operations back into the logical type for
102102
/// normal use, `Self`.
103103
///
104-
/// - Parameter storage: The storage representation for `Self` that's used
104+
/// - Parameter representation: The storage representation for `Self` that's used
105105
/// within atomic operations.
106106
/// - Returns: The newly decoded logical type `Self`.
107107
@available(SwiftStdlib 6.0, *)
@@ -153,7 +153,7 @@ extension Double: AtomicRepresentable {
153153
/// representation used in atomic operations back into the logical type for
154154
/// normal use, `Self`.
155155
///
156-
/// - Parameter storage: The storage representation for `Self` that's used
156+
/// - Parameter representation: The storage representation for `Self` that's used
157157
/// within atomic operations.
158158
/// - Returns: The newly decoded logical type `Self`.
159159
@available(SwiftStdlib 6.0, *)

stdlib/public/Synchronization/Atomics/AtomicOptional.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public protocol AtomicOptionalRepresentable: AtomicRepresentable {
4242
/// representation used in atomic operations on `Optional` back into the
4343
/// logical type for normal use, `Self?`.
4444
///
45-
/// - Parameter storage: The optional storage representation for `Self?`
45+
/// - Parameter representation: The optional storage representation for `Self?`
4646
/// that's used within atomic operations on `Optional`.
4747
/// - Returns: The newly decoded logical type `Self?`.
4848
static func decodeAtomicOptionalRepresentation(
@@ -101,7 +101,7 @@ where
101101
/// representation used in atomic operations on `Optional` back into the
102102
/// logical type for normal use, `Self?`.
103103
///
104-
/// - Parameter storage: The optional storage representation for `Self?`
104+
/// - Parameter representation: The optional storage representation for `Self?`
105105
/// that's used within atomic operations on `Optional`.
106106
/// - Returns: The newly decoded logical type `Self?`.
107107
@available(SwiftStdlib 6.0, *)
@@ -153,7 +153,7 @@ extension Optional: AtomicRepresentable where Wrapped: AtomicOptionalRepresentab
153153
/// representation used in atomic operations back into the logical type for
154154
/// normal use, `Self`.
155155
///
156-
/// - Parameter storage: The storage representation for `Self` that's used
156+
/// - Parameter representation: The storage representation for `Self` that's used
157157
/// within atomic operations.
158158
/// - Returns: The newly decoded logical type `Self`.
159159
@available(SwiftStdlib 6.0, *)

stdlib/public/Synchronization/Atomics/AtomicPointers.swift

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extension UnsafePointer: @unsafe AtomicRepresentable where Pointee: ~Copyable {
4949
/// representation used in atomic operations back into the logical type for
5050
/// normal use, `Self`.
5151
///
52-
/// - Parameter storage: The storage representation for `Self` that's used
52+
/// - Parameter representation: The storage representation for `Self` that's used
5353
/// within atomic operations.
5454
/// - Returns: The newly decoded logical type `Self`.
5555
@available(SwiftStdlib 6.0, *)
@@ -101,7 +101,7 @@ extension UnsafePointer: @unsafe AtomicOptionalRepresentable where Pointee: ~Cop
101101
/// representation used in atomic operations on `Optional` back into the
102102
/// logical type for normal use, `Self?`.
103103
///
104-
/// - Parameter storage: The optional storage representation for `Self?`
104+
/// - Parameter representation: The optional storage representation for `Self?`
105105
/// that's used within atomic operations on `Optional`.
106106
/// - Returns: The newly decoded logical type `Self?`.
107107
@available(SwiftStdlib 6.0, *)
@@ -155,7 +155,7 @@ extension UnsafeMutablePointer: @unsafe AtomicRepresentable where Pointee: ~Copy
155155
/// representation used in atomic operations back into the logical type for
156156
/// normal use, `Self`.
157157
///
158-
/// - Parameter storage: The storage representation for `Self` that's used
158+
/// - Parameter representation: The storage representation for `Self` that's used
159159
/// within atomic operations.
160160
/// - Returns: The newly decoded logical type `Self`.
161161
@available(SwiftStdlib 6.0, *)
@@ -208,7 +208,7 @@ where Pointee: ~Copyable {
208208
/// representation used in atomic operations on `Optional` back into the
209209
/// logical type for normal use, `Self?`.
210210
///
211-
/// - Parameter storage: The optional storage representation for `Self?`
211+
/// - Parameter representation: The optional storage representation for `Self?`
212212
/// that's used within atomic operations on `Optional`.
213213
/// - Returns: The newly decoded logical type `Self?`.
214214
@available(SwiftStdlib 6.0, *)
@@ -262,7 +262,7 @@ extension UnsafeRawPointer: @unsafe AtomicRepresentable {
262262
/// representation used in atomic operations back into the logical type for
263263
/// normal use, `Self`.
264264
///
265-
/// - Parameter storage: The storage representation for `Self` that's used
265+
/// - Parameter representation: The storage representation for `Self` that's used
266266
/// within atomic operations.
267267
/// - Returns: The newly decoded logical type `Self`.
268268
@available(SwiftStdlib 6.0, *)
@@ -314,7 +314,7 @@ extension UnsafeRawPointer: @unsafe AtomicOptionalRepresentable {
314314
/// representation used in atomic operations on `Optional` back into the
315315
/// logical type for normal use, `Self?`.
316316
///
317-
/// - Parameter storage: The optional storage representation for `Self?`
317+
/// - Parameter representation: The optional storage representation for `Self?`
318318
/// that's used within atomic operations on `Optional`.
319319
/// - Returns: The newly decoded logical type `Self?`.
320320
@available(SwiftStdlib 6.0, *)
@@ -368,7 +368,7 @@ extension UnsafeMutableRawPointer: @unsafe AtomicRepresentable {
368368
/// representation used in atomic operations back into the logical type for
369369
/// normal use, `Self`.
370370
///
371-
/// - Parameter storage: The storage representation for `Self` that's used
371+
/// - Parameter representation: The storage representation for `Self` that's used
372372
/// within atomic operations.
373373
/// - Returns: The newly decoded logical type `Self`.
374374
@available(SwiftStdlib 6.0, *)
@@ -420,7 +420,7 @@ extension UnsafeMutableRawPointer: @unsafe AtomicOptionalRepresentable {
420420
/// representation used in atomic operations on `Optional` back into the
421421
/// logical type for normal use, `Self?`.
422422
///
423-
/// - Parameter storage: The optional storage representation for `Self?`
423+
/// - Parameter representation: The optional storage representation for `Self?`
424424
/// that's used within atomic operations on `Optional`.
425425
/// - Returns: The newly decoded logical type `Self?`.
426426
@available(SwiftStdlib 6.0, *)
@@ -474,7 +474,7 @@ extension Unmanaged: @unsafe AtomicRepresentable {
474474
/// representation used in atomic operations back into the logical type for
475475
/// normal use, `Self`.
476476
///
477-
/// - Parameter storage: The storage representation for `Self` that's used
477+
/// - Parameter representation: The storage representation for `Self` that's used
478478
/// within atomic operations.
479479
/// - Returns: The newly decoded logical type `Self`.
480480
@available(SwiftStdlib 6.0, *)
@@ -534,7 +534,7 @@ extension Unmanaged: @unsafe AtomicOptionalRepresentable {
534534
/// representation used in atomic operations on `Optional` back into the
535535
/// logical type for normal use, `Self?`.
536536
///
537-
/// - Parameter storage: The optional storage representation for `Self?`
537+
/// - Parameter representation: The optional storage representation for `Self?`
538538
/// that's used within atomic operations on `Optional`.
539539
/// - Returns: The newly decoded logical type `Self?`.
540540
@available(SwiftStdlib 6.0, *)
@@ -588,7 +588,7 @@ extension OpaquePointer: @unsafe AtomicRepresentable {
588588
/// representation used in atomic operations back into the logical type for
589589
/// normal use, `Self`.
590590
///
591-
/// - Parameter storage: The storage representation for `Self` that's used
591+
/// - Parameter representation: The storage representation for `Self` that's used
592592
/// within atomic operations.
593593
/// - Returns: The newly decoded logical type `Self`.
594594
@available(SwiftStdlib 6.0, *)
@@ -640,7 +640,7 @@ extension OpaquePointer: @unsafe AtomicOptionalRepresentable {
640640
/// representation used in atomic operations on `Optional` back into the
641641
/// logical type for normal use, `Self?`.
642642
///
643-
/// - Parameter storage: The optional storage representation for `Self?`
643+
/// - Parameter representation: The optional storage representation for `Self?`
644644
/// that's used within atomic operations on `Optional`.
645645
/// - Returns: The newly decoded logical type `Self?`.
646646
@available(SwiftStdlib 6.0, *)
@@ -694,7 +694,7 @@ extension ObjectIdentifier: AtomicRepresentable {
694694
/// representation used in atomic operations back into the logical type for
695695
/// normal use, `Self`.
696696
///
697-
/// - Parameter storage: The storage representation for `Self` that's used
697+
/// - Parameter representation: The storage representation for `Self` that's used
698698
/// within atomic operations.
699699
/// - Returns: The newly decoded logical type `Self`.
700700
@available(SwiftStdlib 6.0, *)
@@ -750,7 +750,7 @@ extension ObjectIdentifier: AtomicOptionalRepresentable {
750750
/// representation used in atomic operations on `Optional` back into the
751751
/// logical type for normal use, `Self?`.
752752
///
753-
/// - Parameter storage: The optional storage representation for `Self?`
753+
/// - Parameter representation: The optional storage representation for `Self?`
754754
/// that's used within atomic operations on `Optional`.
755755
/// - Returns: The newly decoded logical type `Self?`.
756756
@available(SwiftStdlib 6.0, *)
@@ -813,7 +813,7 @@ extension UnsafeBufferPointer: @unsafe AtomicRepresentable where Element: ~Copya
813813
/// representation used in atomic operations back into the logical type for
814814
/// normal use, `Self`.
815815
///
816-
/// - Parameter storage: The storage representation for `Self` that's used
816+
/// - Parameter representation: The storage representation for `Self` that's used
817817
/// within atomic operations.
818818
/// - Returns: The newly decoded logical type `Self`.
819819
@available(SwiftStdlib 6.0, *)
@@ -881,7 +881,7 @@ where Element: ~Copyable
881881
/// representation used in atomic operations back into the logical type for
882882
/// normal use, `Self`.
883883
///
884-
/// - Parameter storage: The storage representation for `Self` that's used
884+
/// - Parameter representation: The storage representation for `Self` that's used
885885
/// within atomic operations.
886886
/// - Returns: The newly decoded logical type `Self`.
887887
@available(SwiftStdlib 6.0, *)
@@ -947,7 +947,7 @@ extension UnsafeRawBufferPointer: @unsafe AtomicRepresentable {
947947
/// representation used in atomic operations back into the logical type for
948948
/// normal use, `Self`.
949949
///
950-
/// - Parameter storage: The storage representation for `Self` that's used
950+
/// - Parameter representation: The storage representation for `Self` that's used
951951
/// within atomic operations.
952952
/// - Returns: The newly decoded logical type `Self`.
953953
@available(SwiftStdlib 6.0, *)
@@ -1013,7 +1013,7 @@ extension UnsafeMutableRawBufferPointer: @unsafe AtomicRepresentable {
10131013
/// representation used in atomic operations back into the logical type for
10141014
/// normal use, `Self`.
10151015
///
1016-
/// - Parameter storage: The storage representation for `Self` that's used
1016+
/// - Parameter representation: The storage representation for `Self` that's used
10171017
/// within atomic operations.
10181018
/// - Returns: The newly decoded logical type `Self`.
10191019
@available(SwiftStdlib 6.0, *)

0 commit comments

Comments
 (0)