Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarak Ben Youssef committed Aug 9, 2023
1 parent a64c735 commit d68565d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/stdlib/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ func NewUnsafeRandomFunction(generator UnsafeRandomGenerator) StandardLibraryVal
if err != nil {
panic(interpreter.WrappedExternalError(err))
}
rand := binary.LittleEndian.Uint64(buffer[:])
return rand
return binary.LittleEndian.Uint64(buffer[:])
},
)
},
Expand Down

0 comments on commit d68565d

Please sign in to comment.