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 2010f02 commit c3239b9Copy full SHA for c3239b9
stdlib/public/core/StringBreadcrumbs.swift
@@ -138,6 +138,7 @@ extension _StringGuts {
138
// Thread-safe compare-and-swap
139
let crumbs = _StringBreadcrumbs(String(self))
140
_stdlib_atomicInitializeARCRef(
141
- object: UnsafeMutablePointer(mutating: UnsafeRawPointer(mutPtr).assumingMemoryBound(to: Optional<AnyObject>.self)), desired: crumbs)
+ object: UnsafeMutableRawPointer(mutPtr).assumingMemoryBound(to: Optional<AnyObject>.self),
142
+ desired: crumbs)
143
}
144
0 commit comments