Skip to content

Commit 9abd029

Browse files
authored
Ensure all imports of other modules are implementation only (#232)
1 parent dd97b56 commit 9abd029

6 files changed

+6
-6
lines changed

Sources/AsyncAlgorithms/AsyncChannel.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
@preconcurrency import OrderedCollections
12+
@preconcurrency @_implementationOnly import OrderedCollections
1313

1414
/// A channel for sending elements from one task to another with back pressure.
1515
///

Sources/AsyncAlgorithms/AsyncThrowingChannel.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
@preconcurrency import OrderedCollections
12+
@preconcurrency @_implementationOnly import OrderedCollections
1313

1414
/// An error-throwing channel for sending elements from on task to another with back pressure.
1515
///

Sources/AsyncAlgorithms/CombineLatest/CombineLatestStateMachine.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
import DequeModule
12+
@_implementationOnly import DequeModule
1313

1414
/// State machine for combine latest
1515
struct CombineLatestStateMachine<

Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
import DequeModule
12+
@_implementationOnly import DequeModule
1313

1414
/// Creates an asynchronous sequence of elements from two underlying asynchronous sequences
1515
public func merge<Base1: AsyncSequence, Base2: AsyncSequence>(_ base1: Base1, _ base2: Base2) -> AsyncMerge2Sequence<Base1, Base2>

Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
import DequeModule
12+
@_implementationOnly import DequeModule
1313

1414
/// Creates an asynchronous sequence of elements from two underlying asynchronous sequences
1515
public func merge<

Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
import DequeModule
12+
@_implementationOnly import DequeModule
1313

1414
/// The state machine for any of the `merge` operator.
1515
///

0 commit comments

Comments
 (0)