File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1133,7 +1133,7 @@ trait Observable[+T]
1133
1133
* @return an Observable that emits `true` if the specified item is emitted by the source Observable,
1134
1134
* or `false` if the source Observable completes without emitting that item
1135
1135
*/
1136
- def contains (elem : Any ): Observable [Boolean ] = {
1136
+ def contains [ U >: T ] (elem : U ): Observable [Boolean ] = {
1137
1137
exists(_ == elem)
1138
1138
}
1139
1139
@@ -2580,7 +2580,7 @@ trait Observable[+T]
2580
2580
* <p>
2581
2581
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/doOnTerminate.png">
2582
2582
* <p>
2583
- * This differs from `finallyDo` in that this happens BEFORE onCompleted/onError are emitted.
2583
+ * This differs from `finallyDo` in that this happens **before** ` onCompleted/nError` are emitted.
2584
2584
*
2585
2585
* @param onTerminate the action to invoke when the source Observable calls `onCompleted` or `onError`
2586
2586
* @return the source Observable with the side-effecting behavior applied
You can’t perform that action at this time.
0 commit comments