fix rng documentation

This commit is contained in:
raz-varren 2018-05-18 12:10:48 -07:00
parent 0bb3d1a979
commit 43c618076b

2
rng.go
View File

@ -12,7 +12,7 @@ type RNG struct {
mu *sync.Mutex
}
//Read reads len(b) random bytes into b and never returns a nil error
//Read reads len(b) random bytes into b and always returns a nil error
func (r *RNG) Read(b []byte) (int, error) {
r.mu.Lock()
defer r.mu.Unlock()