File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public protocol AtomicOptionalRepresentable: AtomicRepresentable {
18
18
/// The storage representation type that encodes to and decodes from
19
19
/// `Optional<Self>` which is a suitable type when used in atomic operations
20
20
/// on `Optional`.
21
- associatedtype AtomicOptionalRepresentation
21
+ associatedtype AtomicOptionalRepresentation : BitwiseCopyable
22
22
23
23
/// Destroys a value of `Self` and prepares an `AtomicOptionalRepresentation`
24
24
/// storage type to be used for atomic operations on `Optional`.
Original file line number Diff line number Diff line change 163
163
public protocol AtomicRepresentable {
164
164
/// The storage representation type that `Self` encodes to and decodes from
165
165
/// which is a suitable type when used in atomic operations.
166
- associatedtype AtomicRepresentation
166
+ associatedtype AtomicRepresentation : BitwiseCopyable
167
167
168
168
/// Destroys a value of `Self` and prepares an `AtomicRepresentation` storage
169
169
/// type to be used for atomic operations.
Original file line number Diff line number Diff line change 61
61
@frozen
62
62
public enum Never { }
63
63
64
- extension Never : Sendable { }
64
+ extension Never : BitwiseCopyable { }
65
+
66
+ extension Never : Sendable { }
65
67
66
68
extension Never : Error { }
67
69
You can’t perform that action at this time.
0 commit comments