From 3b002891d9cad45e045a994a669b13210a487cb0 Mon Sep 17 00:00:00 2001 From: Matthew Rothenberg Date: Sun, 11 Oct 2020 15:32:43 -0400 Subject: [PATCH] docs: tiny word choice suggestion for clarity --- weightedrand.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weightedrand.go b/weightedrand.go index 18d9053..d3adce3 100644 --- a/weightedrand.go +++ b/weightedrand.go @@ -66,7 +66,7 @@ func (chs Chooser) Pick() interface{} { // high-throughput situations. // // It is the responsibility of the caller to ensure the provided rand.Source is -// safe from thread safety issues. +// free from thread safety issues. func (chs Chooser) PickSource(rs *rand.Rand) interface{} { r := rs.Intn(chs.max) + 1 i := searchInts(chs.totals, r)