]> Cypherpunks repositories - gostls13.git/commitdiff
math/rand: fix typo in example comment.
authorDavid Symonds <dsymonds@golang.org>
Sat, 8 Dec 2012 08:20:38 +0000 (19:20 +1100)
committerDavid Symonds <dsymonds@golang.org>
Sat, 8 Dec 2012 08:20:38 +0000 (19:20 +1100)
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/6901056

src/pkg/math/rand/example_test.go

index 997385c0167e54d98544ee9e709fafb6271d63ad..4fe207d85e67050fa398812b006d7f1ae494fe19 100644 (file)
@@ -40,7 +40,7 @@ func Example() {
        show("NormFloat64", r.NormFloat64(), r.NormFloat64(), r.NormFloat64())
 
        // Int31, Int63, and Uint32 generate values of the given width.
-       // The Int method (not shown) is like either Int31 or Int64
+       // The Int method (not shown) is like either Int31 or Int63
        // depending on the size of 'int'.
        show("Int31", r.Int31(), r.Int31(), r.Int31())
        show("Int63", r.Int63(), r.Int63(), r.Int63())