diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2016-04-26 18:54:12 -0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-04-27 02:58:54 +0000 |
commit | 87bca88c703c1f14fe8473dc2f07dc521cf2b989 (patch) | |
tree | 78f8ce456bf8a22f41b6364e06946362f552ad8a /src/context | |
parent | 0b5fbf7098b10da284f48de604e7d2860d2cd9d0 (diff) | |
download | go-87bca88c703c1f14fe8473dc2f07dc521cf2b989.tar.gz go-87bca88c703c1f14fe8473dc2f07dc521cf2b989.zip |
context: fix doc typo
Fixes #15449
Change-Id: I8d84d076a05c56694b48f7b84f572b1a6524f522
Reviewed-on: https://go-review.googlesource.com/22493
Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/context')
-rw-r--r-- | src/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |