aboutsummaryrefslogtreecommitdiff
path: root/crates/sloth_vm/src
diff options
context:
space:
mode:
authornic-gaffney <gaffney_nic@protonmail.com>2023-04-18 09:15:35 -0500
committernic-gaffney <gaffney_nic@protonmail.com>2023-04-18 09:15:35 -0500
commit38b564380a6362a82a0e5269b1e7e3d3635900e7 (patch)
treec58b180d80c22bb5ea4cc54574124b12277e53ba /crates/sloth_vm/src
parentb0ffef5124c88d52d81cbd2f8c96c019ce84ad47 (diff)
downloadsloth-38b564380a6362a82a0e5269b1e7e3d3635900e7.tar.gz
Added small doc for wait command
Diffstat (limited to 'crates/sloth_vm/src')
-rw-r--r--crates/sloth_vm/src/sloth_std/time.rs2
1 files changed, 1 insertions, 1 deletions
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"),
};