Skip to content

Commit 5aeedec

Browse files
committed
Formatting pass
1 parent 68e1492 commit 5aeedec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44
import CompilerPluginSupport
55

66
let AsyncAlgorithms_v1_0 = "AvailabilityMacro=AsyncAlgorithms 1.0:macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0"
7-
#if compiler(>=6.0) && swift(>=6.0) // 5.10 doesnt support visionOS availability
7+
#if compiler(>=6.0) && swift(>=6.0) // 5.10 doesnt support visionOS availability
88
let AsyncAlgorithms_v1_1 =
99
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
1010
#else

Sources/AsyncAlgorithms/AsyncShareSequence.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ where Base.Element: Sendable, Base: SendableMetatype, Base.AsyncIterator: Sendab
639639
// Using this priority escalation means that the base task can avoid being detached.
640640
//
641641
// This is disabled for now until the 9999 availability is removed from `withTaskPriorityEscalationHandler`
642-
#if false // TODO: remove when this is resolved
642+
#if false // TODO: remove when this is resolved
643643
guard #available(macOS 26.0, iOS 26.0, tvOS 26.0, visionOS 26.0, *) else {
644644
return try await nextIteration(id).get()
645645
}
@@ -723,4 +723,4 @@ extension AsyncShareSequence: AsyncSequence {
723723
}
724724
}
725725

726-
#endif
726+
#endif

Tests/AsyncAlgorithmsTests/TestShare.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,4 +580,4 @@ private enum TestError: Error, Equatable {
580580
case failure
581581
}
582582

583-
#endif
583+
#endif

0 commit comments

Comments
 (0)