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 f69e74b + a166a8d commit a89e30dCopy full SHA for a89e30d
src/swift/Time.swift
@@ -165,7 +165,7 @@ private func toInt64Clamped(_ value: Double) -> Int64 {
165
/// let t1 = DispatchTimeInterval.seconds(Int.max)
166
/// let t2 = DispatchTimeInterval.milliseconds(Int.max)
167
/// let result = t1 == t2 // true
168
-public enum DispatchTimeInterval {
+public enum DispatchTimeInterval: Equatable {
169
case seconds(Int)
170
case milliseconds(Int)
171
case microseconds(Int)
0 commit comments