about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorDavid Rajchenbach-Teller <dteller@mozilla.com>2011-10-17 15:36:17 +0200
committerBrian Anderson <banderson@mozilla.com>2011-10-17 11:22:57 -0700
commit064f9dd93ec30446c8b8c1c9138aecf115aec578 (patch)
tree652c7ccda7b394bab3f60c656fe5b9d913219566 /src/lib
parenta85e035038b2850cd65b9fa53cbccd2e00cf9153 (diff)
[Lib] uint.rs: +min_value
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/uint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uint.rs b/src/lib/uint.rs
index 12a512e1de8..040d54842e3 100644
--- a/src/lib/uint.rs
+++ b/src/lib/uint.rs
@@ -1,4 +1,4 @@
-
+pure fn min_value() -> uint { ret 0u; }
 
 fn add(x: uint, y: uint) -> uint { ret x + y; }