Skip to content

Commit

Permalink
fix availability of record(:Duration) API (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktoso authored May 15, 2024
1 parent 0124d9a commit ce594e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Metrics/Metrics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ extension Timer {
///
/// - Parameters:
/// - duration: The `Duration` to record.
@available(macOS 13, iOS 16, tvOS 15, watchOS 8, *)
@available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
@inlinable
public func record(duration: Duration) {
// `Duration` doesn't have a nice way to convert it nanoseconds or seconds,
Expand Down

0 comments on commit ce594e7

Please sign in to comment.