1
0
mirror of https://github.com/janet-lang/janet synced 2024-09-27 06:38:13 +00:00

Merge pull request #105 from andrewchambers/doc

Minor documentation fixes.
This commit is contained in:
Calvin Rose 2019-05-17 07:59:08 -04:00 committed by GitHub
commit 8f168c600d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -632,7 +632,7 @@ static const JanetReg os_cfuns[] = {
#ifndef JANET_REDUCED_OS
{
"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, "
"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,
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.")
},
{

View File

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