1
0
mirror of https://github.com/golang/go synced 2024-11-19 13:14:42 -07:00

go/ast: improve documentation for channel directions

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>
This commit is contained in:
Robert Griesemer 2017-11-29 13:27:50 -08:00
parent 905b1c9804
commit 98a8e52149

View File

@ -356,8 +356,8 @@ type (
} }
) )
// The direction of a channel type is indicated by one // The direction of a channel type is indicated by a bit
// of the following constants. // mask including one or both of the following constants.
// //
type ChanDir int type ChanDir int