mirror of https://github.com/golang/go.git
builtin: document true and false.
Fixes #5315. R=golang-dev, r CC=golang-dev https://golang.org/cl/8841048
This commit is contained in:
parent
12566a60d7
commit
8457afbe00
|
|
@ -13,6 +13,12 @@ package builtin
|
|||
// bool is the set of boolean values, true and false.
|
||||
type bool bool
|
||||
|
||||
// true and false are the two untyped boolean values.
|
||||
const (
|
||||
true = 0 == 0 // Untyped bool.
|
||||
false = 0 != 0 // Untyped bool.
|
||||
)
|
||||
|
||||
// uint8 is the set of all unsigned 8-bit integers.
|
||||
// Range: 0 through 255.
|
||||
type uint8 uint8
|
||||
|
|
|
|||
Loading…
Reference in New Issue