From c739dd229986d3f1560a3962ad5a9bafc7530364 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 3 Feb 2012 10:30:52 -0500 Subject: [PATCH] spec: 9 only looks prime Fixes #2870. R=golang-dev, agl, lvd CC=golang-dev https://golang.org/cl/5618050 --- 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 39ffdb71d4..2b1926b3cc 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2143,7 +2143,7 @@ Examples of valid array, slice, and map literals:
 // list of prime numbers
-primes := []int{2, 3, 5, 7, 9, 11, 13, 17, 19, 991}
+primes := []int{2, 3, 5, 7, 11, 13, 17, 19, 991}
 
 // 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.50.0