Commit ec459526 authored by David Symonds's avatar David Symonds

math/rand: fix typo in example comment.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/6901056
parent b99161e4
...@@ -40,7 +40,7 @@ func Example() { ...@@ -40,7 +40,7 @@ func Example() {
show("NormFloat64", r.NormFloat64(), r.NormFloat64(), r.NormFloat64()) show("NormFloat64", r.NormFloat64(), r.NormFloat64(), r.NormFloat64())
// Int31, Int63, and Uint32 generate values of the given width. // 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'. // depending on the size of 'int'.
show("Int31", r.Int31(), r.Int31(), r.Int31()) show("Int31", r.Int31(), r.Int31(), r.Int31())
show("Int63", r.Int63(), r.Int63(), r.Int63()) show("Int63", r.Int63(), r.Int63(), r.Int63())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment