updated string/bytes docs to reflect return value as tuple

This commit is contained in:
MorganPeterson 2021-10-11 13:45:31 -04:00
parent f0da793f99
commit 9bf5cd83c3
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ JANET_CORE_FN(cfun_string_repeat,
JANET_CORE_FN(cfun_string_bytes,
"(string/bytes str)",
"Returns an array of integers that are the byte values of the string.") {
"Returns a tuple of integers that are the byte values of the string.") {
janet_fixarity(argc, 1);
JanetByteView view = janet_getbytes(argv, 0);
Janet *tup = janet_tuple_begin(view.len);