jiahua wang has uploaded this change for review.
math/rand: update NewSource document
Fixes golang/go#44488
Change-Id: I6ebe323408e48564e90b9fcd67cca76306c57c35
---
M src/math/rand/rand.go
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/math/rand/rand.go b/src/math/rand/rand.go
index 13f20ca..35987bb 100644
--- a/src/math/rand/rand.go
+++ b/src/math/rand/rand.go
@@ -40,6 +40,7 @@
// NewSource returns a new pseudo-random Source seeded with the given value.
// Unlike the default Source used by top-level functions, this source is not
// safe for concurrent use by multiple goroutines.
+// NewSource always implements Source64
func NewSource(seed int64) Source {
var rng rngSource
rng.Seed(seed)
To view, visit change 352689. To unsubscribe, or for help writing mail filters, visit settings.
Sean Liao abandoned this change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |