1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:14:47 -07:00

math/rand: typo fixed in documentation of seedPos

In the comment of seedPost, the word: condiiton was changed to: condition

Change-Id: I8967cc0e9f5d37776bada96cc1443c8bf46e1117
Reviewed-on: https://go-review.googlesource.com/86156
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Paul PISCUC 2018-01-04 21:25:04 +01:00 committed by Brad Fitzpatrick
parent 4de1d1d5cd
commit 3526c40979

View File

@ -393,7 +393,7 @@ func (r *lockedSource) Seed(seed int64) {
r.lk.Unlock()
}
// seedPos implements Seed for a lockedSource without a race condiiton.
// seedPos implements Seed for a lockedSource without a race condition.
func (r *lockedSource) seedPos(seed int64, readPos *int8) {
r.lk.Lock()
r.src.Seed(seed)