From 2b846bc7c754ffb9df2587f7e0903324a21d92f2 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 6 May 2021 06:19:39 -0700 Subject: [PATCH] Fix phrasing in comment --- examples/goroutines/goroutines.sh | 4 ++-- public/goroutines | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/goroutines/goroutines.sh b/examples/goroutines/goroutines.sh index e452c25..38506ed 100644 --- a/examples/goroutines/goroutines.sh +++ b/examples/goroutines/goroutines.sh @@ -1,8 +1,8 @@ # When we run this program, we see the output of the # blocking call first, then the output of the two # goroutines. The goroutines' output may be interleaved, -# happens because goroutines are being run concurrently -# by the Go runtime. +# because goroutines are being run concurrently by the +# Go runtime. $ go run goroutines.go direct : 0 direct : 1 diff --git a/public/goroutines b/public/goroutines index 25fe86b..621214b 100644 --- a/public/goroutines +++ b/public/goroutines @@ -159,8 +159,8 @@ separate goroutines now. Wait for them to finish

When we run this program, we see the output of the blocking call first, then the output of the two goroutines. The goroutines’ output may be interleaved, -happens because goroutines are being run concurrently -by the Go runtime.

+because goroutines are being run concurrently by the +Go runtime.