From ef3b953a4209e263018de10be403a5b38a94efd6 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 14 Apr 2020 21:32:50 -0500 Subject: [PATCH] Fix docstrings. --- src/core/corelib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/corelib.c b/src/core/corelib.c index 5498fe6a..4f6a4d4c 100644 --- a/src/core/corelib.c +++ b/src/core/corelib.c @@ -646,7 +646,7 @@ static const JanetReg corelib_cfuns[] = { "getline", janet_core_getline, JDOC("(getline &opt prompt buf env)\n\n" "Reads a line of input into a buffer, including the newline character, using a prompt. " - "An optional environment table can be provided for autocomplete. " + "An optional environment table can be provided for auto-complete. " "Returns the modified buffer. " "Use this function to implement a simple interface for a terminal program.") }, @@ -680,7 +680,7 @@ static const JanetReg corelib_cfuns[] = { "\t:all:\tthe value of path verbatim\n" "\t:cur:\tthe current file, or (dyn :current-file)\n" "\t:dir:\tthe directory containing the current file\n" - "\t:name:\tthe filename component of path, with extenion if given\n" + "\t:name:\tthe filename component of path, with extension if given\n" "\t:native:\tthe extension used to load natives, .so or .dll\n" "\t:sys:\tthe system path, or (syn :syspath)") }, @@ -697,7 +697,7 @@ static const JanetReg corelib_cfuns[] = { { "slice", janet_core_slice, JDOC("(slice x &opt start end)\n\n" - "Extract a sub-range of an indexed data strutrue or byte sequence.") + "Extract a sub-range of an indexed data structure or byte sequence.") }, { "signal", janet_core_signal,