Skip to content

Commit af73462

Browse files
committed
Fixes the typo in README
1 parent ba76a58 commit af73462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coroutines-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ fun main(args: Array<String>) = runBlocking<Unit> {
194194
195195
## Cancellation is cooperative
196196

197-
Coroutine cancellation is _cooperative_. A coroutine code has to cooperate be cancellable.
197+
Coroutine cancellation is _cooperative_. A coroutine code has to cooperate to be cancellable.
198198
All the suspending functions in `kotlinx.coroutines` are _cancellable_. They check for cancellation of
199199
coroutine and throw `CancellationException` when cancelled. However, if a coroutine is working in
200200
a computation and does not check for cancellation, then it cannot be cancelled, like the following

0 commit comments

Comments
 (0)