1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00

Minor documentation fixes.

This commit is contained in:
Andrew Chambers 2019-05-17 20:58:06 +12:00
parent 880049c0ee
commit ec43afb426
3 changed files with 4 additions and 4 deletions

View File

@ -632,7 +632,7 @@ static const JanetReg os_cfuns[] = {
#ifndef JANET_REDUCED_OS #ifndef JANET_REDUCED_OS
{ {
"os/dir", os_dir, "os/dir", os_dir,
JDOC("(os/stat dir [, array])\n\n" JDOC("(os/dir dir [, array])\n\n"
"Iterate over files and subdirectories in a directory. Returns an array of paths parts, " "Iterate over files and subdirectories in a directory. Returns an array of paths parts, "
"with only the filename or directory name and no prefix.") "with only the filename or directory name and no prefix.")
}, },

View File

@ -928,7 +928,7 @@ static const JanetReg parse_cfuns[] = {
}, },
{ {
"parser/eof", cfun_parse_eof, "parser/eof", cfun_parse_eof,
JDOC("(parser/insert parser)\n\n" JDOC("(parser/eof parser)\n\n"
"Indicate that the end of file was reached to the parser. This puts the parser in the :dead state.") "Indicate that the end of file was reached to the parser. This puts the parser in the :dead state.")
}, },
{ {

View File

@ -542,8 +542,8 @@ static const JanetReg string_cfuns[] = {
}, },
{ {
"string/from-bytes", cfun_string_frombytes, "string/from-bytes", cfun_string_frombytes,
JDOC("(string/from-bytes byte-array)\n\n" JDOC("(string/from-bytes &byte-vals)\n\n"
"Creates a string from an array of integers with byte values. All integers " "Creates a string from integer params with byte values. All integers "
"will be coerced to the range of 1 byte 0-255.") "will be coerced to the range of 1 byte 0-255.")
}, },
{ {