From 38b564380a6362a82a0e5269b1e7e3d3635900e7 Mon Sep 17 00:00:00 2001 From: nic-gaffney Date: Tue, 18 Apr 2023 09:15:35 -0500 Subject: Added small doc for wait command --- crates/sloth_vm/src/sloth_std/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sloth_vm/src/sloth_std/time.rs b/crates/sloth_vm/src/sloth_std/time.rs index 1c22294..d32d860 100644 --- a/crates/sloth_vm/src/sloth_std/time.rs +++ b/crates/sloth_vm/src/sloth_std/time.rs @@ -22,5 +22,5 @@ pub const WAIT: NativeFunction = NativeFunction { function: wait, arity: 1, returns_value: false, - doc: None, + doc: Some("Use `wait(sec: int)` to sleep for `sec` time"), }; -- cgit v1.2.3