mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Merge pull request #774 from sogaiu/tweak-fiber-last-value-docstring
Tweak fiber/last-value docstring
This commit is contained in:
commit
c921315b3e
@ -642,7 +642,7 @@ JANET_CORE_FN(cfun_fiber_can_resume,
|
|||||||
}
|
}
|
||||||
|
|
||||||
JANET_CORE_FN(cfun_fiber_last_value,
|
JANET_CORE_FN(cfun_fiber_last_value,
|
||||||
"(fiber/last-value",
|
"(fiber/last-value)",
|
||||||
"Get the last value returned or signaled from the fiber.") {
|
"Get the last value returned or signaled from the fiber.") {
|
||||||
janet_fixarity(argc, 1);
|
janet_fixarity(argc, 1);
|
||||||
JanetFiber *fiber = janet_getfiber(argv, 0);
|
JanetFiber *fiber = janet_getfiber(argv, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user