Fix phrasing in comment

This commit is contained in:
Eli Bendersky 2021-05-06 06:19:39 -07:00
parent 941f515d61
commit 2b846bc7c7
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# When we run this program, we see the output of the # When we run this program, we see the output of the
# blocking call first, then the output of the two # blocking call first, then the output of the two
# goroutines. The goroutines' output may be interleaved, # goroutines. The goroutines' output may be interleaved,
# happens because goroutines are being run concurrently # because goroutines are being run concurrently by the
# by the Go runtime. # Go runtime.
$ go run goroutines.go $ go run goroutines.go
direct : 0 direct : 0
direct : 1 direct : 1

4
public/goroutines generated
View File

@ -159,8 +159,8 @@ separate goroutines now. Wait for them to finish
<p>When we run this program, we see the output of the <p>When we run this program, we see the output of the
blocking call first, then the output of the two blocking call first, then the output of the two
goroutines. The goroutines&rsquo; output may be interleaved, goroutines. The goroutines&rsquo; output may be interleaved,
happens because goroutines are being run concurrently because goroutines are being run concurrently by the
by the Go runtime.</p> Go runtime.</p>
</td> </td>
<td class="code leading"> <td class="code leading">