1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-23 11:40:01 +00:00

Merge pull request #1389 from sogaiu/fiber-last-value-doc-tweak

This commit is contained in:
Calvin Rose 2024-02-02 08:42:48 -08:00 committed by GitHub
commit 5ddefff27e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -662,7 +662,7 @@ JANET_CORE_FN(cfun_fiber_can_resume,
}
JANET_CORE_FN(cfun_fiber_last_value,
"(fiber/last-value)",
"(fiber/last-value fiber)",
"Get the last value returned or signaled from the fiber.") {
janet_fixarity(argc, 1);
JanetFiber *fiber = janet_getfiber(argv, 0);