From 43c618076b2e74375756fabc3033fd215c511071 Mon Sep 17 00:00:00 2001 From: raz-varren Date: Fri, 18 May 2018 12:10:48 -0700 Subject: [PATCH] fix rng documentation --- rng.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rng.go b/rng.go index 6e48c3d..138595b 100644 --- a/rng.go +++ b/rng.go @@ -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()