Skip to content

Commit 3a05e7b

Browse files
eikemeierfindleyr
authored andcommitted
spec: close tag
Close an "a" tag. While we are here, fix some escapes. Change-Id: I16040eff0d4beeef6230aec8fcf4315f0efd13a4 GitHub-Last-Rev: 3ba7b9f GitHub-Pull-Request: golang#75760 Reviewed-on: https://go-review.googlesource.com/c/go/+/708517 Reviewed-by: Sean Liao <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]> Reviewed-by: Robert Findley <[email protected]> Auto-Submit: Sean Liao <[email protected]>
1 parent 2a71af1 commit 3a05e7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/go_spec.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3173,7 +3173,7 @@ <h3 id="Composite_literals">Composite literals</h3>
31733173

31743174
<p>
31753175
Unless the LiteralType is a type parameter,
3176-
its <a href="#Underlying_types">underlying type
3176+
its <a href="#Underlying_types">underlying type</a>
31773177
must be a struct, array, slice, or map type
31783178
(the syntax enforces this constraint except when the type is given
31793179
as a TypeName).
@@ -4873,7 +4873,7 @@ <h4 id="Operator_precedence">Operator precedence</h4>
48734873
x &lt;= f() // x &lt;= f()
48744874
^a &gt;&gt; b // (^a) >> b
48754875
f() || g() // f() || g()
4876-
x == y+1 &amp;&amp; &lt;-chanInt &gt; 0 // (x == (y+1)) && ((<-chanInt) > 0)
4876+
x == y+1 &amp;&amp; &lt;-chanInt &gt; 0 // (x == (y+1)) && ((&lt;-chanInt) > 0)
48774877
</pre>
48784878

48794879

@@ -6635,7 +6635,7 @@ <h4 id="For_clause">For statements with <code>for</code> clause</h4>
66356635

66366636
<pre>
66376637
var prints []func()
6638-
for i := 0; i < 5; i++ {
6638+
for i := 0; i &lt; 5; i++ {
66396639
prints = append(prints, func() { println(i) })
66406640
i++
66416641
}
@@ -6772,7 +6772,7 @@ <h4 id="For_range">For statements with <code>range</code> clause</h4>
67726772
variable, which must be of integer type.
67736773
Otherwise, if the iteration variable is declared by the "range" clause or is absent,
67746774
the type of the iteration values is the <a href="#Constants">default type</a> for <code>n</code>.
6775-
If <code>n</code> &lt= 0, the loop does not run any iterations.
6775+
If <code>n</code> &lt;= 0, the loop does not run any iterations.
67766776
</li>
67776777

67786778
<li>
@@ -7799,7 +7799,7 @@ <h3 id="Min_and_max">Min and max</h3>
77997799
</p>
78007800

78017801
<pre>
7802-
min(x, y) == if x <= y then x else y
7802+
min(x, y) == if x &lt;= y then x else y
78037803
min(x, y, z) == min(min(x, y), z)
78047804
</pre>
78057805

0 commit comments

Comments
 (0)