From c249491572db67acd226210dbcfb4f349614a632 Mon Sep 17 00:00:00 2001 From: lixianyang Date: Tue, 27 Apr 2021 02:29:59 +0000 Subject: [PATCH] doc: change to in spec Change-Id: I21d0ee83c9204d51c587bd944209df2232b460ad GitHub-Last-Rev: 47fab8dc582baaab5f5cd58a1d53f1c24604c769 GitHub-Pull-Request: golang/go#45771 Reviewed-on: https://go-review.googlesource.com/c/go/+/313449 Reviewed-by: Ian Lance Taylor Reviewed-by: Robert Griesemer --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index bbcdd54b02..95bf7d30f8 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -4323,7 +4323,7 @@ MyRunes("白鵬翔") // []rune{0x767d, 0x9d6c, 0x7fd4}

Converting a slice to an array pointer yields a pointer to the underlying array of the slice. If the length of the slice is less than the length of the array, -a run-time panic occurs. +a run-time panic occurs.

-- 
2.48.1