diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-04-27 18:32:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-27 18:32:13 -0500 |
| commit | c0cbf40f54c80fc51348d1a4e00833f5957c5e6d (patch) | |
| tree | ee19422788e6f9e44c0f71a7b9549ce3344422d2 /crates | |
| parent | a03609b894560780c7439168a20662516adbe100 (diff) | |
| download | sloth-c0cbf40f54c80fc51348d1a4e00833f5957c5e6d.tar.gz | |
Update crates/sloth_vm/src/sloth_std/rand.rs
Diffstat (limited to 'crates')
| -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 1718c6d..818b616 100644 --- a/crates/sloth_vm/src/sloth_std/rand.rs +++ b/crates/sloth_vm/src/sloth_std/rand.rs @@ -17,8 +17,8 @@ pub const GEN_FUNCTION: NativeFunction = NativeFunction { arity: 0, returns_value: true, doc: Some( - "NativeFunction rand_gen:\n\tdesc: Returns a random number in the range `0.0 .. \ - 1.0`\n\tExample: `var num = rand_gen(); # num could be any number from 0.0 to 1.0`", + "NativeFunction rand$gen:\n\tdesc: Returns a random number in the range `0.0 .. \ + 1.0`\n\tExample: `var num = rand$gen(); # num could be any number from 0.0 to 1.0`", ), }; |
