Skip to content

Commit

Permalink
std::lib::io: make printn_gen discardable
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Curto <[email protected]>
  • Loading branch information
pierrec authored and lerno committed Sep 22, 2023
1 parent d6edd80 commit e5b9906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/io/stream.c3
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ macro usz! print_gen(self, x)
$endswitch
}

macro usz! printn_gen(self, x)
macro usz! printn_gen(self, x) @maydiscard
{
usz len = print_gen(self, x)!;
self.write_byte('\n')!;
Expand Down

0 comments on commit e5b9906

Please sign in to comment.