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 c6116be commit e919812Copy full SHA for e919812
stdlib/public/Cxx/CxxSpan.swift
@@ -23,6 +23,7 @@ internal func unsafeBitCast<T: ~Escapable, U>(
23
@_unsafeNonescapableResult
24
@_alwaysEmitIntoClient
25
@_transparent
26
+@lifetime(copy dependent)
27
public func _unsafeRemoveLifetime<T: ~Copyable & ~Escapable>(_ dependent: consuming T) -> T {
28
dependent
29
}
@@ -91,6 +92,7 @@ extension Span {
91
92
93
@unsafe
94
95
+ @lifetime(borrow span)
96
public init<T: CxxSpan<Element>>(
97
_unsafeCxxSpan span: borrowing T,
98
) {
0 commit comments