diff options
| author | Burak Guven <bguven@gmail.com> | 2017-09-13 19:54:40 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-09-14 03:41:35 +0000 |
| commit | 9cc170f9a5b84d8cc3f477c68f6f2a2dc9196755 (patch) | |
| tree | 86af0a5a7e0ff4ec338231454f17781af162f2af /misc/cgo/errors/errors_test.go | |
| parent | 107744e94c4e62272962eba9195bc14a7eb69a09 (diff) | |
| download | go-9cc170f9a5b84d8cc3f477c68f6f2a2dc9196755.tar.xz | |
math/rand: fix comment for Shuffle
Shuffle panics if n < 0, not n <= 0. The comment for the (*Rand).Shuffle
function is already accurate.
Change-Id: I073049310bca9632e50e9ca3ff79eec402122793
Reviewed-on: https://go-review.googlesource.com/63750
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc/cgo/errors/errors_test.go')
0 files changed, 0 insertions, 0 deletions
