From 8a0eee45254f86f8fe50acda1a2a187c877a4701 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Thu, 27 Apr 2023 18:32:58 -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/src') 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 .. \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 .. \n\tExample: `var num = rand$gen_range(20, 76); # num \ could be any number from 20 to 76`", ), }; -- cgit v1.2.3