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 b8ed4af commit 4fd3c2bCopy full SHA for 4fd3c2b
stdlib/public/core/CollectionOfOne.swift
@@ -174,7 +174,7 @@ extension CollectionOfOne {
174
175
@available(SwiftStdlib 6.2, *)
176
public var mutableSpan: MutableSpan<Element> {
177
- @lifetime(borrow self)
+ @lifetime(&self)
178
@_alwaysEmitIntoClient
179
mutating get {
180
let pointer = unsafe UnsafeMutablePointer<Element>(
stdlib/public/core/InlineArray.swift
@@ -476,7 +476,7 @@ extension InlineArray where Element: ~Copyable {
476
477
478
479
480
481
482
let pointer = _mutableAddress
0 commit comments