You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd suggest adding text so that it looks more like this:
Create a new RNG with the given seed.
Note: the seed varies based on the chosen generator. Most RNG's
expect `&'a [u32]` values but some expect `&'a [u64]`. Please refer to
the particular RNG documentation for the length of the seed.
Example
...
Motivation
When I first looked into how seeds worked in this library, I tried to find a definition of Seed to get some clarity. That didn't help much, since Seed is a generic for the SeedableRng trait.
Recommendation
I'd suggest adding some more context to:
https://docs.rs/rand/0.4.2/rand/trait.SeedableRng.html
Currently, it says:
I'd suggest adding text so that it looks more like this:
Motivation
When I first looked into how seeds worked in this library, I tried to find a definition of
Seed
to get some clarity. That didn't help much, sinceSeed
is a generic for theSeedableRng
trait.Particularly for people new to the library, saying a few words about what a
Seed
is may help.The text was updated successfully, but these errors were encountered: