Skip to content

Commit cf3e7f2

Browse files
committed
stdlib: Add a void type
1 parent 00a81a2 commit cf3e7f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib/util.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ pure fn rational_leq(x: rational, y: rational) -> bool {
1717
}
1818

1919
pure fn orb(a: bool, b: bool) -> bool { a || b }
20+
21+
tag void {
22+
void(@void);
23+
}
24+
2025
// Local Variables:
2126
// mode: rust;
2227
// fill-column: 78;

0 commit comments

Comments
 (0)