aboutsummaryrefslogtreecommitdiff
path: root/crates/sloth_vm/src
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-04-27 18:32:13 -0500
committerGitHub <noreply@github.com>2023-04-27 18:32:13 -0500
commitc0cbf40f54c80fc51348d1a4e00833f5957c5e6d (patch)
treeee19422788e6f9e44c0f71a7b9549ce3344422d2 /crates/sloth_vm/src
parenta03609b894560780c7439168a20662516adbe100 (diff)
downloadsloth-c0cbf40f54c80fc51348d1a4e00833f5957c5e6d.tar.gz
Update crates/sloth_vm/src/sloth_std/rand.rs
Diffstat (limited to 'crates/sloth_vm/src')
-rw-r--r--crates/sloth_vm/src/sloth_std/rand.rs4
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`",
),
};