Skip to content

Commit 4fed05e

Browse files
committed
Remove legacy canImport(_Concurrency) checks
1 parent da79cee commit 4fed05e

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

RxCocoa/Traits/SharedSequence/SharedSequence+Concurrency.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
import Foundation
1111

1212
// MARK: - Shared Sequence

RxSwift/Observable+Concurrency.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
import Foundation
1111

1212
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)

RxSwift/Traits/Infallible/Infallible+Concurrency.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
// MARK: - Infallible
1111

1212
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)

RxSwift/Traits/PrimitiveSequence/PrimitiveSequence+Concurrency.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
#if swift(>=5.6) && canImport(_Concurrency)
11+
#if swift(>=5.7)
1212
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
1313
public extension PrimitiveSequenceType where Trait == SingleTrait {
1414
/**

Tests/RxCocoaTests/SharedSequence+ConcurrencyTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
import Dispatch
1111
import RxCocoa
1212
import RxSwift

Tests/RxSwiftTests/Infallible+ConcurrencyTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
import Dispatch
1111
import RxSwift
1212
import RxTest

Tests/RxSwiftTests/Observable+ConcurrencyTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
import Dispatch
1111
import RxSwift
1212
import RxTest

Tests/RxSwiftTests/PrimitiveSequence+ConcurrencyTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Krunoslav Zaher. All rights reserved.
77
//
88

9-
#if swift(>=5.6) && canImport(_Concurrency)
9+
#if swift(>=5.7)
1010
import Dispatch
1111
import RxBlocking
1212
import RxSwift

0 commit comments

Comments
 (0)