Skip to content

Commit 73930f1

Browse files
committed
Fix grammar
1 parent 6cf255f commit 73930f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/common/io/channel.effekt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module io/channel
33
// Channels
44
// --------
55

6-
/// Must be sended exactly once and waited exactly once
6+
/// Must sent to exactly once and waited for exactly once
77
extern type Channel[T]
88

99
namespace channel {

libraries/llvm/io.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ void c_channel_send(struct Pos channel, struct Pos value) {
349349
erasePositive(channel);
350350
erasePositive(value);
351351
// TODO more graceful panic
352-
fprintf(stderr, "ERROR: Channel already sended\n");
352+
fprintf(stderr, "ERROR: Channel already used for sending\n");
353353
exit(1);
354354
break;
355355
}
@@ -383,7 +383,7 @@ void c_channel_wait(struct Pos channel, Stack stack) {
383383
erasePositive(channel);
384384
eraseStack(stack);
385385
// TODO more graceful panic
386-
fprintf(stderr, "ERROR: Channel already waited\n");
386+
fprintf(stderr, "ERROR: Channel already used for waiting\n");
387387
exit(1);
388388
break;
389389
}

0 commit comments

Comments
 (0)