mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Fix copy/paste mistake in ev/take docs
This commit is contained in:
parent
714ba808dd
commit
7b3ab2727f
@ -735,7 +735,7 @@ JANET_CORE_FN(cfun_channel_push,
|
||||
|
||||
JANET_CORE_FN(cfun_channel_pop,
|
||||
"(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);
|
||||
JanetChannel *channel = janet_getabstract(argv, 0, &ChannelAT);
|
||||
|
Loading…
Reference in New Issue
Block a user