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 1d8f464 + 0aadfb0 commit d366fe5Copy full SHA for d366fe5
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