diff --git a/Sources/Atomics/AtomicOptionalRawRepresentable.swift b/Sources/Atomics/AtomicOptionalRawRepresentable.swift index c95dcc5..078fb2d 100644 --- a/Sources/Atomics/AtomicOptionalRawRepresentable.swift +++ b/Sources/Atomics/AtomicOptionalRawRepresentable.swift @@ -44,6 +44,7 @@ public struct AtomicOptionalRawRepresentableStorage: AtomicStorage static func _extract( _ ptr: UnsafeMutablePointer ) -> UnsafeMutablePointer { + // `Self` is layout-compatible with its only stored property. return UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: Storage.self) }