From 44f7fd030fc0110b7fe727038a72bf6a0646be6f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 8 Sep 2017 06:03:46 -0700 Subject: [PATCH] math/rand: change http to https in comment Change-Id: I19c1b0e1b238dda82e69bd47459528ed06b55840 Reviewed-on: https://go-review.googlesource.com/62310 Reviewed-by: David Crawshaw --- src/math/rand/rand.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math/rand/rand.go b/src/math/rand/rand.go index 895bb0597d..85871725a6 100644 --- a/src/math/rand/rand.go +++ b/src/math/rand/rand.go @@ -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) -- 2.50.0