[ContainersPreview] Fix support for Swift 6.2

This commit is contained in:
Karoy Lorentey committed 2026-03-17 13:45:15 -07:00
1 parent 2364daa6bf
commit 3dc65340f3
1 file changed
+1
@@ -131,6 +131,7 @@ extension OutputSpan /*where Element: Copyable*/ {
@available(SwiftStdlib 5.0, *)
extension OutputSpan where Element: ~Copyable {
@inlinable
@_lifetime(self: copy self)
package mutating func _remove(
from index: Int,
where shouldBeRemoved: (borrowing Element) -> Bool