From 2367b44b4e3806ba6ae03c1299577caebeb6f7bd Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Thu, 27 Apr 2023 18:16:07 -0500 Subject: Change "file_write" to "file$write" --- crates/sloth_vm/src/sloth_std/file.rs | 4 ++-- 1 file 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 \ - to file at \n\tExample: `file_write('/home/sloth/todo.txt', 'Take a nap'); # \ + "NativeFunction file$write: \n\targs: path (str), content (str)\n\tdesc: Writes \ + to file at \n\tExample: `file$write('/home/sloth/todo.txt', 'Take a nap'); # \ todo.txt now contains the string 'Take a nap'`", ), }; -- cgit v1.2.3