mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
stdlib: Add a void type
This commit is contained in:
parent
00a81a22a8
commit
cf3e7f2f0b
@ -17,6 +17,11 @@ pure fn rational_leq(x: rational, y: rational) -> bool {
|
||||
}
|
||||
|
||||
pure fn orb(a: bool, b: bool) -> bool { a || b }
|
||||
|
||||
tag void {
|
||||
void(@void);
|
||||
}
|
||||
|
||||
// Local Variables:
|
||||
// mode: rust;
|
||||
// fill-column: 78;
|
||||
|
Loading…
Reference in New Issue
Block a user