Skip to content

Commit 6afbfed

Browse files
committed
[stdlib] Adopt primary associated types in _Concurrency
(cherry picked from commit 6d09bb0)
1 parent c5dbf5f commit 6afbfed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Clock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import Swift
3131
/// For more information about specific clocks see `ContinuousClock` and
3232
/// `SuspendingClock`.
3333
@available(SwiftStdlib 5.7, *)
34-
public protocol Clock: Sendable {
34+
public protocol Clock<Duration>: Sendable {
3535
associatedtype Duration
3636
associatedtype Instant: InstantProtocol where Instant.Duration == Duration
3737

0 commit comments

Comments
 (0)