Skip to content

Commit 4271886

Browse files
aperfilyevqwwdfsad
authored andcommitted
Fix typo
later -> latter
1 parent 6591c4e commit 4271886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cancellation-and-timeouts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ main: Now I can quit.
138138

139139
There are two approaches to making computation code cancellable. The first one is to periodically
140140
invoke a suspending function that checks for cancellation. There is a [yield] function that is a good choice for that purpose.
141-
The other one is to explicitly check the cancellation status. Let us try the later approach.
141+
The other one is to explicitly check the cancellation status. Let us try the latter approach.
142142

143143
Replace `while (i < 5)` in the previous example with `while (isActive)` and rerun it.
144144

0 commit comments

Comments
 (0)