-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Description
Currently we have the following line in the docs for RngCore
:
also do not implement
Default
, but instead implementSeedableRng
thus allowing use ofrand::NewRng
(which is automatically implemented)
I think it should be changed to "do not implement Default
for pseudorandom generators" or to something similar. For hardware RNGs (e.g. rdrand
) and OS RNGs it does not make sense to implement SeedableRng
.
dhardy
Metadata
Metadata
Assignees
Labels
No labels