Skip to content

Commit 1f5d6f4

Browse files
authored
Add missing platform availability annotation (#26)
It's missing for `DNSResolver` and results in build failing in iOS. Resolves #25
1 parent 200eac1 commit 1f5d6f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/AsyncDNSResolver/AsyncDNSResolver.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public struct AsyncDNSResolver {
9595
}
9696

9797
/// API for running DNS queries.
98+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
9899
public protocol DNSResolver {
99100
/// Lookup A records associated with `name`.
100101
///

0 commit comments

Comments
 (0)