Update go_spec.html

This commit is contained in:
Piers 2021-07-19 14:49:32 +01:00 committed by GitHub
parent 49402bee36
commit 067f96eeb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4334,7 +4334,7 @@ s4 := (*[4]byte)(s) // panics: len([4]byte) > len(s)
var t []string
t0 := (*[0]string)(t) // t0 == nil
t1 := (*[1]string)(t) // panics: len([1]string) > len(s)
t1 := (*[1]string)(t) // panics: len([1]string) > len(t)
</pre>
<h3 id="Constant_expressions">Constant expressions</h3>