]> Cypherpunks repositories - gostls13.git/commitdiff
spec: correct primes
authorChristopher Wedgwood <cw@f00f.org>
Fri, 3 Feb 2012 23:34:31 +0000 (10:34 +1100)
committerRob Pike <r@golang.org>
Fri, 3 Feb 2012 23:34:31 +0000 (10:34 +1100)
R=r
CC=golang-dev
https://golang.org/cl/5627048

doc/go_spec.html

index 2dec4c0b70e44d5b1a8b7d741242d05912cb9e52..a546fdc672b61d51250e7fd0c99b85294a812128 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, 1174250539803415390440702411831137627109439}
+primes := []int{2, 3, 5, 7, 9, 11, 13, 17, 19, 991, 1174250539803415390440702411831137627109479}
 
 // vowels[ch] is true if ch is a vowel
 vowels := [128]bool{'a': true, 'e': true, 'i': true, 'o': true, 'u': true, 'y': true}