Skip to content

Commit 3136a4a

Browse files
committed
[stdlib] Fix warning on Clock.Duration
rdar://92306564
1 parent 565ed69 commit 3136a4a

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
@@ -32,7 +32,7 @@ import Swift
3232
/// `SuspendingClock`.
3333
@available(SwiftStdlib 5.7, *)
3434
public protocol Clock: Sendable {
35-
associatedtype Duration: DurationProtocol
35+
associatedtype Duration
3636
associatedtype Instant: InstantProtocol where Instant.Duration == Duration
3737

3838
var now: Instant { get }

0 commit comments

Comments
 (0)