Skip to content

Commit ac3175b

Browse files
committed
Some driveby formatting fixes and remove the freebsd target since that is not supported in swiftpm yet
1 parent 3583132 commit ac3175b

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Package.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ let supportedTestingPlatforms: [Platform] = [
1414
.macCatalyst,
1515
.android,
1616
.linux,
17-
.freebsd,
1817
.openbsd,
19-
.wasi
18+
.wasi,
2019
]
2120

2221
let availabilityMacros: [SwiftSetting] = [
23-
.enableExperimentalFeature("AvailabilityMacro=AsyncAlgorithms 1.0:macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0"),
24-
.enableExperimentalFeature("AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"),
22+
.enableExperimentalFeature(
23+
"AvailabilityMacro=AsyncAlgorithms 1.0:macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0"
24+
),
25+
.enableExperimentalFeature(
26+
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
27+
),
2528
]
2629

2730
let package = Package(
@@ -69,7 +72,7 @@ let package = Package(
6972

7073
if Context.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
7174
package.dependencies += [
72-
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),
75+
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0")
7376
]
7477
} else {
7578
package.dependencies += [

Sources/AsyncAlgorithms/Buffer/AsyncBufferSequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public struct AsyncBufferSequence<Base: AsyncSequence & Sendable>: AsyncSequence
8080
// to specify that the element is actually Sendable since the draining mechanism passes
8181
// through the isolation that is in nature sending but cannot be marked as such for the
8282
// isolated next method.
83-
// In practice the users of this type are safe from isolation crossing since the Element
83+
// In practice the users of this type are safe from isolation crossing since the Element
8484
// is as sendable as it is required by the base sequences the buffer is constructed from.
8585
enum StorageType {
8686
case transparent(Base.AsyncIterator)

Sources/AsyncAlgorithms/Buffer/BoundedBufferStorage.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ final class BoundedBufferStorage<Base: AsyncSequence>: Sendable where Base: Send
109109
case .none:
110110
break
111111
case .resumeConsumer(let continuation, let result):
112-
113112
continuation.resume(returning: result)
114113
}
115114
}

0 commit comments

Comments
 (0)