mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: minor documentation tweaks for constants
Block comments appear after a block in the HTML documentation generated by godoc. Words like "following" should be avoided. Change-Id: Iedfad67f4b8b9c84f128b98b9b06fa76919af388 Reviewed-on: https://go-review.googlesource.com/14357 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
0cf7331391
commit
49fb8cc10c
3 changed files with 3 additions and 3 deletions
|
|
@ -360,7 +360,7 @@ type Chan struct {
|
|||
// A ChanDir value indicates a channel direction.
|
||||
type ChanDir int
|
||||
|
||||
// The direction of a channel is indicated by one of the following constants.
|
||||
// The direction of a channel is indicated by one of these constants.
|
||||
const (
|
||||
SendRecv ChanDir = iota
|
||||
SendOnly
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ const (
|
|||
// rounding error is described by the Float's Accuracy.
|
||||
type RoundingMode byte
|
||||
|
||||
// The following rounding modes are supported.
|
||||
// These constants define supported rounding modes.
|
||||
const (
|
||||
ToNearestEven RoundingMode = iota // == IEEE 754-2008 roundTiesToEven
|
||||
ToNearestAway // == IEEE 754-2008 roundTiesToAway
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ const (
|
|||
GoTokens = ScanIdents | ScanFloats | ScanChars | ScanStrings | ScanRawStrings | ScanComments | SkipComments
|
||||
)
|
||||
|
||||
// The result of Scan is one of the following tokens or a Unicode character.
|
||||
// The result of Scan is one of these tokens or a Unicode character.
|
||||
const (
|
||||
EOF = -(iota + 1)
|
||||
Ident
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue