From c0cbf40f54c80fc51348d1a4e00833f5957c5e6d Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Thu, 27 Apr 2023 18:32:13 -0500 Subject: Update crates/sloth_vm/src/sloth_std/rand.rs --- crates/sloth_vm/src/sloth_std/rand.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/sloth_vm') 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`", ), }; -- cgit v1.2.3