Skip to content

Ensure all imports of other modules are implementation only #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/AsyncAlgorithms/AsyncChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//

@preconcurrency import OrderedCollections
@preconcurrency @_implementationOnly import OrderedCollections

/// A channel for sending elements from one task to another with back pressure.
///
Expand Down
2 changes: 1 addition & 1 deletion Sources/AsyncAlgorithms/AsyncThrowingChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//

@preconcurrency import OrderedCollections
@preconcurrency @_implementationOnly import OrderedCollections

/// An error-throwing channel for sending elements from on task to another with back pressure.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//

import DequeModule
@_implementationOnly import DequeModule

/// State machine for combine latest
struct CombineLatestStateMachine<
Expand Down
2 changes: 1 addition & 1 deletion Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//

import DequeModule
@_implementationOnly import DequeModule

/// Creates an asynchronous sequence of elements from two underlying asynchronous sequences
public func merge<Base1: AsyncSequence, Base2: AsyncSequence>(_ base1: Base1, _ base2: Base2) -> AsyncMerge2Sequence<Base1, Base2>
Expand Down
2 changes: 1 addition & 1 deletion Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//

import DequeModule
@_implementationOnly import DequeModule

/// Creates an asynchronous sequence of elements from two underlying asynchronous sequences
public func merge<
Expand Down
2 changes: 1 addition & 1 deletion Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//===----------------------------------------------------------------------===//

import DequeModule
@_implementationOnly import DequeModule

/// The state machine for any of the `merge` operator.
///
Expand Down