android / codelab-kotlin-coroutines

Kotlin Coroutines codelab
Apache License 2.0
552 stars 268 forks source link

Incorrect "it's" on Step 7 and 8 of the "kotlin-coroutines" codelab #129

Closed andrewvora closed 3 years ago

andrewvora commented 3 years ago

Step 7

And, if you throw an exception out of a coroutine – that coroutine will cancel it's parent by default. That means it's easy to cancel several related tasks together.

Should be using "its"

And, if you throw an exception out of a coroutine – that coroutine will cancel its parent by default. That means it's easy to cancel several related tasks together.

Step 8

withContext returns it's result back to the Dispatcher that called it, in this case Dispatchers.Main.

Should be

withContext returns its result back to the Dispatcher that called it, in this case Dispatchers.Main.

wojtek-kalicinski commented 3 years ago

Thank you, I've corrected the text in the internal codelab source document and it will be visible soon, once we publish a new version on the website.