Skip to content

Commit ce594e7

Browse files
authored
fix availability of record(:Duration) API (#146)
1 parent 0124d9a commit ce594e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Metrics/Metrics.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extension Timer {
8282
///
8383
/// - Parameters:
8484
/// - duration: The `Duration` to record.
85-
@available(macOS 13, iOS 16, tvOS 15, watchOS 8, *)
85+
@available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
8686
@inlinable
8787
public func record(duration: Duration) {
8888
// `Duration` doesn't have a nice way to convert it nanoseconds or seconds,

0 commit comments

Comments
 (0)