From: Oliver Eikemeier Date: Sun, 5 Oct 2025 11:57:40 +0000 (+0000) Subject: spec: close tag X-Git-Tag: go1.26rc1~702 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3a05e7b032;p=gostls13.git spec: close tag Close an "a" tag. While we are here, fix some escapes. Change-Id: I16040eff0d4beeef6230aec8fcf4315f0efd13a4 GitHub-Last-Rev: 3ba7b9f7478f54338bd3ca7ac55cc2ad1ffcb3a4 GitHub-Pull-Request: golang/go#75760 Reviewed-on: https://go-review.googlesource.com/c/go/+/708517 Reviewed-by: Sean Liao LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui Reviewed-by: Emmanuel Odeke Reviewed-by: Robert Findley Auto-Submit: Sean Liao --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 92afe1cee0..d6c7962a96 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3173,7 +3173,7 @@ Element = Expression | LiteralValue .

Unless the LiteralType is a type parameter, -its underlying type +its underlying type must be a struct, array, slice, or map type (the syntax enforces this constraint except when the type is given as a TypeName). @@ -4873,7 +4873,7 @@ For instance, x / y * z is the same as (x / y) * z. x <= f() // x <= f() ^a >> b // (^a) >> b f() || g() // f() || g() -x == y+1 && <-chanInt > 0 // (x == (y+1)) && ((<-chanInt) > 0) +x == y+1 && <-chanInt > 0 // (x == (y+1)) && ((<-chanInt) > 0) @@ -6635,7 +6635,7 @@ iteration's variable at that moment.

 var prints []func()
-for i := 0; i < 5; i++ {
+for i := 0; i < 5; i++ {
 	prints = append(prints, func() { println(i) })
 	i++
 }
@@ -6772,7 +6772,7 @@ if the iteration variable is preexisting, the type of the iteration values is th
 variable, which must be of integer type.
 Otherwise, if the iteration variable is declared by the "range" clause or is absent,
 the type of the iteration values is the default type for n.
-If n <= 0, the loop does not run any iterations.
+If n <= 0, the loop does not run any iterations.
 
 
 
  • @@ -7799,7 +7799,7 @@ compared lexically byte-wise:

    -min(x, y)    == if x <= y then x else y
    +min(x, y)    == if x <= y then x else y
     min(x, y, z) == min(min(x, y), z)