]> Cypherpunks repositories - gostls13.git/commitdiff
go/ast: improve documentation for channel directions
authorRobert Griesemer <gri@golang.org>
Wed, 29 Nov 2017 21:27:50 +0000 (13:27 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 29 Nov 2017 22:37:38 +0000 (22:37 +0000)
Fixes #22815.

Change-Id: Iaa54fa311bf2c0549a6316a0d51cc92425f5ba94
Reviewed-on: https://go-review.googlesource.com/80855
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/go/ast/ast.go

index 9ab7b1e62568fe75754f002e605569e36944ea16..c07dd5a91ee4e5abc7ef9b8f9431f503b6c12fa7 100644 (file)
@@ -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