From 035197609a7f5c604797e5fbbdc6e14c579a026f Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 10 Mar 2012 17:29:58 -0800 Subject: [PATCH] core: Formatting --- src/libcore/uint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/uint.rs b/src/libcore/uint.rs index 8e57eab7ea77..341a155e87b2 100644 --- a/src/libcore/uint.rs +++ b/src/libcore/uint.rs @@ -10,8 +10,8 @@ pure fn add(x: uint, y: uint) -> uint { ret x + y; } pure fn sub(x: uint, y: uint) -> uint { ret x - y; } pure fn mul(x: uint, y: uint) -> uint { ret x * y; } pure fn div(x: uint, y: uint) -> uint { ret x / y; } - pure fn rem(x: uint, y: uint) -> uint { ret x % y; } + pure fn lt(x: uint, y: uint) -> bool { ret x < y; } pure fn le(x: uint, y: uint) -> bool { ret x <= y; } pure fn eq(x: uint, y: uint) -> bool { ret x == y; }