From: Robert Griesemer Date: Wed, 29 Nov 2017 21:27:50 +0000 (-0800) Subject: go/ast: improve documentation for channel directions X-Git-Tag: go1.10beta1~102 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=98a8e521498354e8312040daeff81146641b5608;p=gostls13.git go/ast: improve documentation for channel directions Fixes #22815. Change-Id: Iaa54fa311bf2c0549a6316a0d51cc92425f5ba94 Reviewed-on: https://go-review.googlesource.com/80855 Reviewed-by: Daniel Martí Reviewed-by: Brad Fitzpatrick --- diff --git a/src/go/ast/ast.go b/src/go/ast/ast.go index 9ab7b1e625..c07dd5a91e 100644 --- a/src/go/ast/ast.go +++ b/src/go/ast/ast.go @@ -356,8 +356,8 @@ type ( } ) -// The direction of a channel type is indicated by one -// of the following constants. +// The direction of a channel type is indicated by a bit +// mask including one or both of the following constants. // type ChanDir int