diff --git a/doc/go_spec.html b/doc/go_spec.html
index ad21ffb1b88515..df256f0f0eec05 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -4334,7 +4334,7 @@
Conversions from slice to array
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)
Constant expressions