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 2f6e295 commit ed9e0ccCopy full SHA for ed9e0cc
Sources/VariableLengthArray/Joined.swift
@@ -1,4 +1,6 @@
1
2
+#if compiler(>=6.2)
3
+
4
extension VLArray {
5
public struct Joined: ~Copyable, @unchecked Sendable {
6
public typealias Index = Int
@@ -123,4 +125,6 @@ extension VLArray {
123
125
//public mutating func swapAt(_ i: Index, _ j: Index) {
124
126
//}
127
}
-}
128
+}
129
130
+#endif
Sources/VariableLengthArray/VLArray.swift
@@ -234,6 +234,7 @@ extension VLArray where Element == UInt8 {
234
235
236
// MARK: Join
237
238
239
@inlinable
240
public func join<let count: Int, E: Error>(
@@ -255,4 +256,5 @@ extension VLArray {
255
256
try closure(&joined)
257
258
259
260
0 commit comments