Skip to content

Commit

Permalink
Remove duplicated initialization of rand (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulbqb authored Mar 11, 2024
1 parent 898b48c commit 1f5fb66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/rand/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ var grand *Rand

func init() {
grand = NewRand()
grand.init()
}

func NewRand() *Rand {
Expand Down

0 comments on commit 1f5fb66

Please sign in to comment.