Skip to content

Commit

Permalink
Fix typo (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel authored and pakoito committed Apr 10, 2018
1 parent 939cd39 commit b05f7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/docs/arrow-docs/docs/docs/integrations/rx2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Observables created with comprehensions like `bindingCatch` behave the same way
```kotlin
val disposable =
songObservable.value()
.subscribe({ Log.d("Song $it") } , { prinln("Error $it") })
.subscribe({ Log.d("Song $it") } , { println("Error $it") })

disposable.dispose()
```
Expand All @@ -145,7 +145,7 @@ val (observable, disposable) =
}

observable.value()
.subscribe({ Log.d("User $it") } , { prinln("Boom! caused by $it") })
.subscribe({ Log.d("User $it") } , { println("Boom! caused by $it") })

disposable()
// Boom! caused by BindingCancellationException
Expand Down

0 comments on commit b05f7f0

Please sign in to comment.