mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
[ContainersPreview] Fix support for Swift 6.2
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user