]> Cypherpunks repositories - gostls13.git/commitdiff
spec: 9 only looks prime
authorRuss Cox <rsc@golang.org>
Fri, 3 Feb 2012 15:30:52 +0000 (10:30 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 3 Feb 2012 15:30:52 +0000 (10:30 -0500)
Fixes #2870.

R=golang-dev, agl, lvd
CC=golang-dev
https://golang.org/cl/5618050

doc/go_spec.html

index 39ffdb71d47e99d7185cb20755a1f00b72f4e40d..2b1926b3cccb0119a4cf2af1730cdc7c5ac24e1f 100644 (file)
@@ -2143,7 +2143,7 @@ Examples of valid array, slice, and map literals:
 
 <pre>
 // 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}