Skip to content

Commit d28844d

Browse files
committed
* fix access modifiers
1 parent 8a16481 commit d28844d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftKafka/KafkaPollingSystem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ extension KafkaPollingSystem {
278278
///
279279
/// - Parameter continuation: The continuation that will be resumed once we are allowed to produce again.
280280
/// After resuming the continuation, our poll loop will start running again.
281-
fileprivate mutating func suspendLoop(continuation: CheckedContinuation<Void, Never>) {
281+
mutating func suspendLoop(continuation: CheckedContinuation<Void, Never>) {
282282
switch self.state {
283283
case .idle, .finished:
284284
return

Sources/SwiftKafka/KafkaProducer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public actor KafkaProducer {
8080

8181
/// A class that wraps a closure with a reference to that closure, allowing to change the underlying functionality
8282
/// of `funcTofunc` after it has been passed.
83-
public class ClosureWrapper<Arg> {
83+
private class ClosureWrapper<Arg> {
8484
/// The wrapped closure.
8585
var wrappedClosure: ((Arg?) -> Void)?
8686

0 commit comments

Comments
 (0)