Skip to content

Commit c7f652e

Browse files
nightcitybladenightcityblade
andauthored
docs: correct context tour line reference (#282)
Co-authored-by: nightcityblade <nightcityblade@gmail.com>
1 parent 7e47d37 commit c7f652e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_content/tour/eng/context.article

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ until their Context is cancelled.
339339

340340
On line 28, the main goroutine cancels its Context value and then waits on line 29
341341
for all ten of the goroutines to receive the signal before shutting down the program.
342-
Once the cancel function is called, all ten goroutines on line 41 will become
342+
Once the cancel function is called, all ten goroutines on line 14 will become
343343
unblocked and print that they have been cancelled. One call to cancel to cancel
344344
them all.
345345

0 commit comments

Comments
 (0)