Skip to content

Commit

Permalink
fix rng documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
raz-varren committed May 18, 2018
1 parent 0bb3d1a commit 43c6180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rng.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 43c6180

Please sign in to comment.