File tree 2 files changed +2
-2
lines changed
kotlinx-coroutines-reactive/src
kotlinx-coroutines-rx2/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ private suspend fun <T> Publisher<T>.awaitOne(
117
117
if (mode == Mode .SINGLE && seenValue) {
118
118
subscription.cancel()
119
119
if (cont.isActive)
120
- cont.resumeWithException(IllegalArgumentException (" More that one onNext value for $mode " ))
120
+ cont.resumeWithException(IllegalArgumentException (" More than one onNext value for $mode " ))
121
121
} else {
122
122
value = t
123
123
seenValue = true
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ private suspend fun <T> ObservableSource<T>.awaitOne(
187
187
Mode .LAST , Mode .SINGLE -> {
188
188
if (mode == Mode .SINGLE && seenValue) {
189
189
if (cont.isActive)
190
- cont.resumeWithException(IllegalArgumentException (" More that one onNext value for $mode " ))
190
+ cont.resumeWithException(IllegalArgumentException (" More than one onNext value for $mode " ))
191
191
subscription.dispose()
192
192
} else {
193
193
value = t
You can’t perform that action at this time.
0 commit comments