Skip to content

Commit decbb9b

Browse files
committed
[stdlib] Fix warning on Clock.Duration
rdar://92306564 (cherry picked from commit 3136a4a)
1 parent 83fe0ee commit decbb9b

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)