File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -812,8 +812,8 @@ public struct UnownedSerialExecutor: Sendable {
812812 // any SerialExecutor needs a raw witness table pointer, so mask off the low
813813 // bits, knowing the witness table pointer is aligned to the pointer size.
814814 let rawExecutorData = unsafe unsafeBitCast( executor, to: ( UInt, UInt) . self)
815- let mask = ~ ( UInt ( MemoryLayout< UnsafeRawPointer> . alignment) - 1 )
816- let alignedExecutor = unsafe ( rawExecutorData. 0 , rawExecutorData. 1 & mask)
815+ let mask = unsafe ~ ( UInt ( MemoryLayout< UnsafeRawPointer> . alignment) - 1 )
816+ let alignedExecutor = ( rawExecutorData. 0 , rawExecutorData. 1 & mask)
817817 return unsafe unsafeBitCast( alignedExecutor, to: ( any SerialExecutor ) ? . self)
818818 }
819819}
You can’t perform that action at this time.
0 commit comments