]> Cypherpunks repositories - gostls13.git/commitdiff
math/rand: change http to https in comment
authorIan Lance Taylor <iant@golang.org>
Fri, 8 Sep 2017 13:03:46 +0000 (06:03 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 8 Sep 2017 22:11:55 +0000 (22:11 +0000)
Change-Id: I19c1b0e1b238dda82e69bd47459528ed06b55840
Reviewed-on: https://go-review.googlesource.com/62310
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/math/rand/rand.go

index 895bb0597dc373abf80e25580555e275b2ed1581..85871725a6ad0f851b114e8193543977c12c4f39 100644 (file)
@@ -142,8 +142,8 @@ func (r *Rand) Int31n(n int32) int32 {
 // int31n can thus only be used internally, by newly introduced APIs.
 //
 // For implementation details, see:
-// http://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction
-// http://lemire.me/blog/2016/06/30/fast-random-shuffling
+// https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction
+// https://lemire.me/blog/2016/06/30/fast-random-shuffling
 func (r *Rand) int31n(n int32) int32 {
        v := r.Uint32()
        prod := uint64(v) * uint64(n)