Skip to content

Commit

Permalink
Fix documentation comments (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
woin2ee authored Apr 11, 2024
1 parent cf08cdc commit e20224e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RxRelay/PublishRelay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import RxSwift
public final class PublishRelay<Element>: ObservableType {
private let subject: PublishSubject<Element>

// Accepts `event` and emits it to subscribers
/// Accepts `event` and emits it to subscribers
public func accept(_ event: Element) {
self.subject.onNext(event)
}
Expand Down
2 changes: 1 addition & 1 deletion RxRelay/ReplayRelay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import RxSwift
public final class ReplayRelay<Element>: ObservableType {
private let subject: ReplaySubject<Element>

// Accepts `event` and emits it to subscribers
/// Accepts `event` and emits it to subscribers
public func accept(_ event: Element) {
self.subject.onNext(event)
}
Expand Down

0 comments on commit e20224e

Please sign in to comment.