Skip to content

Commit

Permalink
Merge pull request #157 from elegoff/0.x
Browse files Browse the repository at this point in the history
Update the out-of-date example in "Notification" doc
  • Loading branch information
zsxwing committed May 7, 2015
2 parents 413371a + 2339db3 commit b418590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/rx/lang/scala/Notification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ sealed trait Notification[+T] {
* Example:
* {{{
* import Notification._
* Observable(1, 2, 3).materialize.subscribe(n => n match {
* Observable.just(1, 2, 3).materialize.subscribe(n => n match {
* case OnNext(v) => println("Got value " + v)
* case OnCompleted() => println("Completed")
* case OnCompleted => println("Completed")
* case OnError(err) => println("Error: " + err.getMessage)
* })
* }}}
Expand Down

0 comments on commit b418590

Please sign in to comment.