Skip to content

Commit

Permalink
Fix project warnings (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackstone92 authored Sep 20, 2024
1 parent b1c3d82 commit e72ee15
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import Combine
import RxSwift

final class BridgeSubscription<U, D: Subscriber>: Subscription {
final class BridgeSubscription<Upstream, Downstream: Subscriber>: Subscription {

enum Status {
case active(disposeBag: DisposeBag)
Expand All @@ -18,12 +18,12 @@ final class BridgeSubscription<U, D: Subscriber>: Subscription {
let subscribe: (_ upstream: U, _ downstream: D) -> Disposable
}

private let upstream: U
private let downstream: D
private let witness: Witness<U, D>
private let upstream: Upstream
private let downstream: Downstream
private let witness: Witness<Upstream, Downstream>
private var status: Status = .pending

init(upstream: U, downstream: D, witness: Witness<U, D>) {
init(upstream: Upstream, downstream: Downstream, witness: Witness<Upstream, Downstream>) {
self.upstream = upstream
self.downstream = downstream
self.witness = witness
Expand Down

0 comments on commit e72ee15

Please sign in to comment.