Skip to content

Releases: PegasusPlusUS/rangex-zig

Empty range should iterate just once for inclusive and none for exclusive

12 Nov 03:33
Compare
Choose a tag to compare

just once:
while_rangex(u8).init(2, 2, true, 1);
while_rangex(u8).init(2, 2, true, -1);

none:
while_rangex(u8).init(2, 2, false, 1);
while_rangex(u8).init(2, 2, false, -1);