1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-11 05:47:44 +00:00

Merge pull request #383 from andrewchambers/rngdoc

Improve rng doc string accuracy.
This commit is contained in:
Calvin Rose
2020-05-09 11:35:01 -04:00
committed by GitHub

View File

@@ -413,7 +413,7 @@ static const JanetReg math_cfuns[] = {
"math/rng", cfun_rng_make,
JDOC("(math/rng &opt seed)\n\n"
"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.")
},
{