From 98a8e521498354e8312040daeff81146641b5608 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 29 Nov 2017 13:27:50 -0800 Subject: [PATCH] go/ast: improve documentation for channel directions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes #22815. Change-Id: Iaa54fa311bf2c0549a6316a0d51cc92425f5ba94 Reviewed-on: https://go-review.googlesource.com/80855 Reviewed-by: Daniel Martí Reviewed-by: Brad Fitzpatrick --- src/go/ast/ast.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.0