1
0
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:
Calvin Rose 2020-05-09 11:35:01 -04:00 committed by GitHub
commit 7125b3430c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.")
}, },
{ {