From 4b06d9d72747b0407e2cd9a423b689c7e9c8e92d Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Mon, 19 Mar 2018 14:15:13 -0400 Subject: [PATCH] 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 --- 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 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:
 // 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}
-- 
2.51.0