From: Brad Fitzpatrick Date: Wed, 27 Apr 2016 01:54:12 +0000 (-0700) Subject: context: fix doc typo X-Git-Tag: go1.7beta1~467 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=87bca88c703c1f14fe8473dc2f07dc521cf2b989;p=gostls13.git context: fix doc typo Fixes #15449 Change-Id: I8d84d076a05c56694b48f7b84f572b1a6524f522 Reviewed-on: https://go-review.googlesource.com/22493 Reviewed-by: Andrew Gerrand --- diff --git a/src/context/context.go b/src/context/context.go index c332e1f443..da294b1292 100644 --- a/src/context/context.go +++ b/src/context/context.go @@ -67,7 +67,7 @@ type Context interface { // // // Stream generates values with DoSomething and sends them to out // // until DoSomething returns an error or ctx.Done is closed. - // func Stream(ctx context.Context, out <-chan Value) error { + // func Stream(ctx context.Context, out chan<- Value) error { // for { // v, err := DoSomething(ctx) // if err != nil {