Skip to content

Commit ff387ae

Browse files
authored
Merge pull request #58411 from lorentey/fix-duration-warning
[stdlib] Fix warning on Clock.Duration
2 parents 94df08d + 3136a4a commit ff387ae

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)