aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-07 06:59:36 +1100
committerRob Pike <r@golang.org>2012-02-07 06:59:36 +1100
commitfc06cadd8865f4b6db068cbcd45b2a04e559c422 (patch)
tree88746cb4b969df2815e230542fdf7fbc94fb5a89
parent0d07600de3ec06204fb71906c136421dce69e206 (diff)
downloadgo-fc06cadd8865f4b6db068cbcd45b2a04e559c422.tar.gz
go-fc06cadd8865f4b6db068cbcd45b2a04e559c422.zip
go_spec: primality is elusive
This time for sure. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5634046
-rw-r--r--doc/go_spec.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index a546fdc672..4467f4e39e 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of January 30, 2012"
+ "Subtitle": "Version of February 6, 2012"
}-->
<!--
@@ -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, 1174250539803415390440702411831137627109479}
+primes := []int{2, 3, 5, 7, 9, 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}