Skip to content

Commit e20224e

Browse files
authored
Fix documentation comments (#2584)
1 parent cf08cdc commit e20224e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RxRelay/PublishRelay.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import RxSwift
1414
public final class PublishRelay<Element>: ObservableType {
1515
private let subject: PublishSubject<Element>
1616

17-
// Accepts `event` and emits it to subscribers
17+
/// Accepts `event` and emits it to subscribers
1818
public func accept(_ event: Element) {
1919
self.subject.onNext(event)
2020
}

RxRelay/ReplayRelay.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import RxSwift
1414
public final class ReplayRelay<Element>: ObservableType {
1515
private let subject: ReplaySubject<Element>
1616

17-
// Accepts `event` and emits it to subscribers
17+
/// Accepts `event` and emits it to subscribers
1818
public func accept(_ event: Element) {
1919
self.subject.onNext(event)
2020
}

0 commit comments

Comments
 (0)