mirror of
https://github.com/golang/go
synced 2024-11-25 15:17:58 -07:00
silence hlint
R=r DELTA=7 (0 added, 4 deleted, 3 changed) OCL=34310 CL=34312
This commit is contained in:
parent
d4903abeae
commit
d3ffc5e683
@ -3814,7 +3814,7 @@ for i := 0; i <= 3; i++ {
|
|||||||
<h3 id="Length_and_capacity">Length and capacity</h3>
|
<h3 id="Length_and_capacity">Length and capacity</h3>
|
||||||
|
|
||||||
<pre class="grammar">
|
<pre class="grammar">
|
||||||
Call Argument type Result
|
Call Argument type Result
|
||||||
|
|
||||||
len(s) string string length (in bytes)
|
len(s) string string length (in bytes)
|
||||||
[n]T, *[n]T array length (== n)
|
[n]T, *[n]T array length (== n)
|
||||||
@ -4367,14 +4367,10 @@ The following minimal alignment properties are guaranteed:
|
|||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<h2 id="Implementation_differences"><font color=red>Implementation differences - TODO</font></h2>
|
<h2 id="Implementation_differences"><font color=red>Implementation differences - TODO</font></h2>
|
||||||
<p>
|
|
||||||
<font color=red>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Implementation does not honor the restriction on goto statements and targets (no intervening declarations).</li>
|
<li><font color=red>Implementation does not honor the restriction on goto statements and targets (no intervening declarations).</font></li>
|
||||||
<li>A type switch must have an assignment in the guard expression and does not support multiple types per case.</li>
|
<li><font color=red>A type switch must have an assignment in the guard expression and does not support multiple types per case.</font></li>
|
||||||
</ul>
|
</ul>
|
||||||
</font>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user