Skip to content

Commit 81b2754

Browse files
ajaltthomasnield
authored andcommitted
Fix grammar in docstrings. (ReactiveX#121)
1 parent a231c5c commit 81b2754

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/kotlin/io/reactivex/rxkotlin/subscribers.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ private val onErrorStub: (Throwable) -> Unit = { throw OnErrorNotImplementedExce
99
private val onCompleteStub: () -> Unit = {}
1010

1111
/**
12-
* Overloaded subscribe function that allow passing named parameters
12+
* Overloaded subscribe function that allows passing named parameters
1313
*/
1414
fun <T : Any> Observable<T>.subscribeBy(
1515
onNext: (T) -> Unit = onNextStub,
@@ -18,7 +18,7 @@ fun <T : Any> Observable<T>.subscribeBy(
1818
): Disposable = subscribe(onNext, onError, onComplete)
1919

2020
/**
21-
* Overloaded subscribe function that allow passing named parameters
21+
* Overloaded subscribe function that allows passing named parameters
2222
*/
2323
fun <T : Any> Flowable<T>.subscribeBy(
2424
onNext: (T) -> Unit = onNextStub,
@@ -27,15 +27,15 @@ fun <T : Any> Flowable<T>.subscribeBy(
2727
): Disposable = subscribe(onNext, onError, onComplete)
2828

2929
/**
30-
* Overloaded subscribe function that allow passing named parameters
30+
* Overloaded subscribe function that allows passing named parameters
3131
*/
3232
fun <T : Any> Single<T>.subscribeBy(
3333
onSuccess: (T) -> Unit = onNextStub,
3434
onError: (Throwable) -> Unit = onErrorStub
3535
): Disposable = subscribe(onSuccess, onError)
3636

3737
/**
38-
* Overloaded subscribe function that allow passing named parameters
38+
* Overloaded subscribe function that allows passing named parameters
3939
*/
4040
fun <T : Any> Maybe<T>.subscribeBy(
4141
onSuccess: (T) -> Unit = onNextStub,
@@ -44,15 +44,15 @@ fun <T : Any> Maybe<T>.subscribeBy(
4444
): Disposable = subscribe(onSuccess, onError, onComplete)
4545

4646
/**
47-
* Overloaded subscribe function that allow passing named parameters
47+
* Overloaded subscribe function that allows passing named parameters
4848
*/
4949
fun Completable.subscribeBy(
5050
onError: (Throwable) -> Unit = onErrorStub,
5151
onComplete: () -> Unit = onCompleteStub
5252
): Disposable = subscribe(onComplete, onError)
5353

5454
/**
55-
* Overloaded blockingSubscribe function that allow passing named parameters
55+
* Overloaded blockingSubscribe function that allows passing named parameters
5656
*/
5757
fun <T : Any> Observable<T>.blockingSubscribeBy(
5858
onNext: (T) -> Unit = onNextStub,
@@ -61,7 +61,7 @@ fun <T : Any> Observable<T>.blockingSubscribeBy(
6161
) = blockingSubscribe(onNext, onError, onComplete)
6262

6363
/**
64-
* Overloaded blockingSubscribe function that allow passing named parameters
64+
* Overloaded blockingSubscribe function that allows passing named parameters
6565
*/
6666
fun <T : Any> Flowable<T>.blockingSubscribeBy(
6767
onNext: (T) -> Unit = onNextStub,

0 commit comments

Comments
 (0)