Skip to content

Commit 067f96e

Browse files
authored
Update go_spec.html
1 parent 49402be commit 067f96e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/go_spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4334,7 +4334,7 @@ <h4 id="Conversions_from_slice_to_array_pointer">Conversions from slice to array
43344334

43354335
var t []string
43364336
t0 := (*[0]string)(t) // t0 == nil
4337-
t1 := (*[1]string)(t) // panics: len([1]string) > len(s)
4337+
t1 := (*[1]string)(t) // panics: len([1]string) > len(t)
43384338
</pre>
43394339

43404340
<h3 id="Constant_expressions">Constant expressions</h3>

0 commit comments

Comments
 (0)