diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-04-27 18:32:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-27 18:32:58 -0500 |
| commit | 8a0eee45254f86f8fe50acda1a2a187c877a4701 (patch) | |
| tree | 72d599a9d772d5c5053708bb56b641e93e73f3b1 /crates/sloth_vm | |
| parent | c0cbf40f54c80fc51348d1a4e00833f5957c5e6d (diff) | |
| download | sloth-8a0eee45254f86f8fe50acda1a2a187c877a4701.tar.gz | |
Update crates/sloth_vm/src/sloth_std/rand.rs
Diffstat (limited to 'crates/sloth_vm')
| -rw-r--r-- | crates/sloth_vm/src/sloth_std/rand.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/sloth_vm/src/sloth_std/rand.rs b/crates/sloth_vm/src/sloth_std/rand.rs index 818b616..870cca1 100644 --- a/crates/sloth_vm/src/sloth_std/rand.rs +++ b/crates/sloth_vm/src/sloth_std/rand.rs @@ -41,8 +41,8 @@ pub const GEN_RANGE_FUNCTION: NativeFunction = NativeFunction { arity: 2, returns_value: true, doc: Some( - "NativeFunction rand_gen_range: \n\targs: min (int), max (int)\n\tdesc: Returns a random \ - numnber in the range <min> .. <max>\n\tExample: `var num = gen_range(20, 76); # num \ + "NativeFunction rand$gen_range: \n\targs: min (int), max (int)\n\tdesc: Returns a random \ + numnber in the range <min> .. <max>\n\tExample: `var num = rand$gen_range(20, 76); # num \ could be any number from 20 to 76`", ), }; |
