We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41308c1 commit f8213dbCopy full SHA for f8213db
stdlib/public/Synchronization/Atomic.swift
@@ -17,7 +17,8 @@ import Builtin
17
@frozen
18
@_rawLayout(like: Value.AtomicRepresentation)
19
@_staticExclusiveOnly
20
-public struct Atomic<Value: AtomicRepresentable>: ~Copyable {
+@_moveOnly
21
+public struct Atomic<Value: AtomicRepresentable> {
22
@available(SwiftStdlib 6.0, *)
23
@_alwaysEmitIntoClient
24
@_transparent
stdlib/public/Synchronization/AtomicLazyReference.swift
@@ -17,7 +17,8 @@
-public struct AtomicLazyReference<Instance: AnyObject>: ~Copyable {
+public struct AtomicLazyReference<Instance: AnyObject> {
@usableFromInline
let storage: Atomic<Unmanaged<Instance>?>
0 commit comments