From 4fa1a6947c4fe5e6b94055d2c204f9c825dbe594 Mon Sep 17 00:00:00 2001 From: sogaiu <983021772@users.noreply.github.com> Date: Mon, 17 Nov 2025 18:51:55 +0900 Subject: [PATCH] Update file/write docstring --- src/core/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/io.c b/src/core/io.c index 4d45caba..ee5f9c84 100644 --- a/src/core/io.c +++ b/src/core/io.c @@ -249,9 +249,9 @@ JANET_CORE_FN(cfun_io_fread, /* Write bytes to a file */ JANET_CORE_FN(cfun_io_fwrite, - "(file/write f bytes)", - "Writes to a file. 'bytes' must be string, buffer, or symbol. Returns the " - "file.") { + "(file/write f & bytes)", + "Writes to a file `f`. Each value of `bytes` must be a " + "string, buffer, symbol, or keyword. Returns the file.") { janet_arity(argc, 1, -1); JanetFile *iof = janet_getabstract(argv, 0, &janet_file_type); if (iof->flags & JANET_FILE_CLOSED)