From: Paul PISCUC Date: Thu, 4 Jan 2018 20:25:04 +0000 (+0100) Subject: math/rand: typo fixed in documentation of seedPos X-Git-Tag: go1.10beta2~51 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3526c409795d8f296cb3d4abcd1c301af3458dde;p=gostls13.git 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 --- diff --git a/src/math/rand/rand.go b/src/math/rand/rand.go index 957bebdddd..147c92f9e2 100644 --- a/src/math/rand/rand.go +++ b/src/math/rand/rand.go @@ -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)