mirror of
https://github.com/janet-lang/janet
synced 2024-11-29 03:19:54 +00:00
Merge pull request #383 from andrewchambers/rngdoc
Improve rng doc string accuracy.
This commit is contained in:
commit
7125b3430c
@ -413,7 +413,7 @@ static const JanetReg math_cfuns[] = {
|
|||||||
"math/rng", cfun_rng_make,
|
"math/rng", cfun_rng_make,
|
||||||
JDOC("(math/rng &opt seed)\n\n"
|
JDOC("(math/rng &opt seed)\n\n"
|
||||||
"Creates a Psuedo-Random number generator, with an optional seed. "
|
"Creates a Psuedo-Random number generator, with an optional seed. "
|
||||||
"The seed should be an unsigned 32 bit integer. "
|
"The seed should be an unsigned 32 bit integer or a buffer. "
|
||||||
"Do not use this for cryptography. Returns a core/rng abstract type.")
|
"Do not use this for cryptography. Returns a core/rng abstract type.")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user