diff options
| author | Oliver Eikemeier <eikemeier@fillmore-labs.com> | 2025-10-05 11:57:40 +0000 |
|---|---|---|
| committer | Robert Findley <rfindley@google.com> | 2025-10-06 07:58:34 -0700 |
| commit | 3a05e7b0325eb71fede880f67db63d192f2fa0e1 (patch) | |
| tree | 9cd0889ba436cad4d424e5dc6599332cf9a65da9 /doc | |
| parent | 2a71af11fc7e45903be9ab84e59c668bb051f528 (diff) | |
| download | go-3a05e7b0325eb71fede880f67db63d192f2fa0e1.tar.xz | |
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 <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/go_spec.html | 10 |
1 files changed, 5 insertions, 5 deletions
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 . <p> Unless the LiteralType is a type parameter, -its <a href="#Underlying_types">underlying type +its <a href="#Underlying_types">underlying type</a> 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, <code>x / y * z</code> is the same as <code>(x / y) * z</code>. 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) </pre> @@ -6635,7 +6635,7 @@ iteration's variable at that moment. <pre> 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 <a href="#Constants">default type</a> for <code>n</code>. -If <code>n</code> <= 0, the loop does not run any iterations. +If <code>n</code> <= 0, the loop does not run any iterations. </li> <li> @@ -7799,7 +7799,7 @@ compared lexically byte-wise: </p> <pre> -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) </pre> |
