Skip to content

Commit 4d1dc6b

Browse files
authored
Add missing availability annotations (grpc#1696)
1 parent 10f3576 commit 4d1dc6b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/GRPCCore/Internal/Result+Catching.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
1718
extension Result where Failure == any Error {
1819
/// Like `Result(catching:)`, but `async`.
1920
///

Tests/GRPCCoreTests/Internal/Result+CatchingTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import XCTest
1818

1919
@testable import GRPCCore
2020

21+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
2122
final class ResultCatchingTests: XCTestCase {
2223
func testResultCatching() async {
2324
let result = await Result {

0 commit comments

Comments
 (0)