Skip to content

Commit 98a8e52

Browse files
committed
go/ast: improve documentation for channel directions
Fixes #22815. Change-Id: Iaa54fa311bf2c0549a6316a0d51cc92425f5ba94 Reviewed-on: https://go-review.googlesource.com/80855 Reviewed-by: Daniel Martí <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 905b1c9 commit 98a8e52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/go/ast/ast.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ type (
356356
}
357357
)
358358

359-
// The direction of a channel type is indicated by one
360-
// of the following constants.
359+
// The direction of a channel type is indicated by a bit
360+
// mask including one or both of the following constants.
361361
//
362362
type ChanDir int
363363

0 commit comments

Comments
 (0)