aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Rainone <aurelien.rainone@gmail.com>2018-05-26 16:43:36 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2018-06-12 22:27:04 +0000
commit95d79e1beac14ee50b7a544817dcd5486be6113f (patch)
tree5840d29f7f720ef80cac679832ee0bc35867c6a4
parentfcbcd37d6473d287176aecd8a341f1c69d0f19b6 (diff)
content: modify comment in pipelines article
Add 'the' in front of 'output' to clear up any possible confusion with the variable 'output' declared in the previous function. Change-Id: I6e85a068d29f338d51d3c9c5bd636b850dd308ca Reviewed-on: https://go-review.googlesource.com/114821 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--content/pipelines/sqleak.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/pipelines/sqleak.go b/content/pipelines/sqleak.go
index 4333205..47d99a6 100644
--- a/content/pipelines/sqleak.go
+++ b/content/pipelines/sqleak.go
@@ -68,7 +68,7 @@ func main() {
c1 := sq(in)
c2 := sq(in)
- // Consume the first value from output.
+ // Consume the first value from the output.
out := merge(c1, c2)
fmt.Println(<-out) // 4 or 9
return