From: Matthew Dempsky
Date: Tue, 20 Oct 2015 22:05:22 +0000 (-0700)
Subject: spec: remove "untyped bool" oxymorons
X-Git-Tag: go1.6beta1~781
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ff85f86877e3639f9a78b5dca27021c33b8cf85c;p=gostls13.git
spec: remove "untyped bool" oxymorons
The proper term is "untyped boolean".
Change-Id: Id871164190a03c64a8a8987b1ad5d8653a21d96e
Reviewed-on: https://go-review.googlesource.com/16135
Reviewed-by: Robert Griesemer
---
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 873c127bdd..ac5ae35745 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -3638,12 +3638,12 @@ is also allowed and follows from the general rules above.
-const c = 3 < 4 // c is the untyped bool constant true
+const c = 3 < 4 // c is the untyped boolean constant true
type MyBool bool
var x, y int
var (
- // The result of a comparison is an untyped bool.
+ // The result of a comparison is an untyped boolean.
// The usual assignment rules apply.
b3 = x == y // b3 has type bool
b4 bool = x == y // b4 has type bool