diff --git a/src/core/corelib.c b/src/core/corelib.c index 5042ddbf..3d57459d 100644 --- a/src/core/corelib.c +++ b/src/core/corelib.c @@ -990,7 +990,7 @@ JanetTable *janet_core_env(JanetTable *replacements) { JDOC("(% dividend divisor)\n\n" "Returns the remainder of dividend / divisor.")); janet_quick_asm(env, JANET_FUN_NEXT, - "next", 2, 2, 2, 2, next_asm, sizeof(next_asm), + "next", 2, 1, 2, 2, next_asm, sizeof(next_asm), JDOC("(next ds &opt key)\n\n" "Gets the next key in a datastructure. Can be used to iterate through " "the keys of a data structure in an unspecified order. Keys are guaranteed "