aboutsummaryrefslogtreecommitdiff
path: root/crates/sloth_vm/src/sloth_std/file.rs
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-04-27 18:16:07 -0500
committerGitHub <noreply@github.com>2023-04-27 18:16:07 -0500
commit2367b44b4e3806ba6ae03c1299577caebeb6f7bd (patch)
tree8760c0fe1e270a013949f5239ed10a000f5aa52b /crates/sloth_vm/src/sloth_std/file.rs
parentf0d121688d9d65ee855602eeaf60ed5c2bc1436f (diff)
downloadsloth-2367b44b4e3806ba6ae03c1299577caebeb6f7bd.tar.gz
Change "file_write" to "file$write"
Diffstat (limited to 'crates/sloth_vm/src/sloth_std/file.rs')
-rw-r--r--crates/sloth_vm/src/sloth_std/file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/sloth_vm/src/sloth_std/file.rs b/crates/sloth_vm/src/sloth_std/file.rs
index ade1b2b..b0b476a 100644
--- a/crates/sloth_vm/src/sloth_std/file.rs
+++ b/crates/sloth_vm/src/sloth_std/file.rs
@@ -76,8 +76,8 @@ pub const FILE_WRITE: NativeFunction = NativeFunction {
arity: 2,
returns_value: false,
doc: Some(
- "NativeFunction file_write: \n\targs: path (str), content (str)\n\tdesc: Writes <content> \
- to file at <path>\n\tExample: `file_write('/home/sloth/todo.txt', 'Take a nap'); # \
+ "NativeFunction file$write: \n\targs: path (str), content (str)\n\tdesc: Writes <content> \
+ to file at <path>\n\tExample: `file$write('/home/sloth/todo.txt', 'Take a nap'); # \
todo.txt now contains the string 'Take a nap'`",
),
};