diff --git a/doc/go_spec.html b/doc/go_spec.html index c7a1521c74a..f290b6746d2 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1778,23 +1778,7 @@ of the expression list.
If the type is absent and the corresponding expression evaluates to an
untyped constant, the type of the declared variable
-is bool
, int
, float64
,
-complex128
, or string
respectively, depending on
-whether the value is a boolean, integer, floating-point, complex, or string
-constant:
-
-var b = true // t has type bool -var r = 'a' // r has type int -var i = 0 // i has type int -var f = 3.0 // f has type float64 -var c0 = 0i // c0 has type complex128 -var c1 = 1 + 0i // c1 has type complex128 -var c2 = 1 + 1i // c2 has type complex128 -var s1 = "OMDB" // s1 has type string -var s2 = `foo` // s2 has type string -+is as described in ยงAssignments.