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 f931d29 commit 79fb06fCopy full SHA for 79fb06f
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 = unsafe _mutableAddress
0 commit comments