diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-10-05 15:36:29 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-10-05 16:33:17 -0700 |
| commit | cf3e7f2f0bc560f761c4663b11abe41f844e09a2 (patch) | |
| tree | 43eb5fddb969bc5973ff3896dedc7751f2606720 /src/lib | |
| parent | 00a81a22a86391659ab7935f7afa958f1966b7e5 (diff) | |
| download | rust-cf3e7f2f0bc560f761c4663b11abe41f844e09a2.tar.gz rust-cf3e7f2f0bc560f761c4663b11abe41f844e09a2.zip | |
stdlib: Add a void type
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/util.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util.rs b/src/lib/util.rs index 1d9c28d99e4..b67bd469c7f 100644 --- a/src/lib/util.rs +++ b/src/lib/util.rs @@ -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; |
