1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-28 17:30:31 +00:00

Fix copy/paste mistake in ev/take docs

This commit is contained in:
Andrew Owen 2021-07-26 00:11:05 -06:00
parent 714ba808dd
commit 7b3ab2727f

View File

@ -735,7 +735,7 @@ JANET_CORE_FN(cfun_channel_push,
JANET_CORE_FN(cfun_channel_pop, JANET_CORE_FN(cfun_channel_pop,
"(ev/take channel)", "(ev/take channel)",
"Write a value to a channel, suspending the current fiber if the channel is full." "Read from a channel, suspending the current fiber if no value is available."
) { ) {
janet_fixarity(argc, 1); janet_fixarity(argc, 1);
JanetChannel *channel = janet_getabstract(argv, 0, &ChannelAT); JanetChannel *channel = janet_getabstract(argv, 0, &ChannelAT);