Commit 3526c409 authored by Paul PISCUC's avatar Paul PISCUC Committed by Brad Fitzpatrick

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/86156Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 4de1d1d5
......@@ -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)
......
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