aboutsummaryrefslogtreecommitdiff
path: root/doc/go_spec.html
diff options
context:
space:
mode:
authorAndrew Bonventre <andybons@golang.org>2018-03-19 14:15:13 -0400
committerFilippo Valsorda <filippo@golang.org>2018-03-19 18:26:12 +0000
commit4b06d9d72747b0407e2cd9a423b689c7e9c8e92d (patch)
treef91f3ec818d28e46997380316f093425f95b765f /doc/go_spec.html
parent168cc7ff9c09f2b19a354084ee5653c03d481e36 (diff)
downloadgo-4b06d9d72747b0407e2cd9a423b689c7e9c8e92d.tar.gz
go-4b06d9d72747b0407e2cd9a423b689c7e9c8e92d.zip
doc: remove non-prime from list of primes in spec
Fixes golang/go#24451 Change-Id: Id9b4cbd1a1ff032f1cc4606e9734ddcc64892ae5 Reviewed-on: https://go-review.googlesource.com/101457 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index dbd2307e29..14b5f352d6 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -2494,7 +2494,7 @@ Examples of valid array, slice, and map literals:
<pre>
// list of prime numbers
-primes := []int{2, 3, 5, 7, 9, 2147483647}
+primes := []int{2, 3, 5, 7, 2147483647}
// vowels[ch] is true if ch is a vowel
vowels := [128]bool{'a': true, 'e': true, 'i': true, 'o': true, 'u': true, 'y': true}