We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41d720e + 5476123 commit 59e61d8Copy full SHA for 59e61d8
stdlib/public/Concurrency/Clock.swift
@@ -32,7 +32,8 @@ import Swift
32
/// `SuspendingClock`.
33
@available(SwiftStdlib 5.7, *)
34
public protocol Clock: Sendable {
35
- associatedtype Instant: InstantProtocol
+ associatedtype Duration: DurationProtocol
36
+ associatedtype Instant: InstantProtocol where Instant.Duration == Duration
37
38
var now: Instant { get }
39
var minimumResolution: Instant.Duration { get }
0 commit comments