We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4fb35 commit 0351976Copy full SHA for 0351976
src/libcore/uint.rs
@@ -10,8 +10,8 @@ pure fn add(x: uint, y: uint) -> uint { ret x + y; }
10
pure fn sub(x: uint, y: uint) -> uint { ret x - y; }
11
pure fn mul(x: uint, y: uint) -> uint { ret x * y; }
12
pure fn div(x: uint, y: uint) -> uint { ret x / y; }
13
-
14
pure fn rem(x: uint, y: uint) -> uint { ret x % y; }
+
15
pure fn lt(x: uint, y: uint) -> bool { ret x < y; }
16
pure fn le(x: uint, y: uint) -> bool { ret x <= y; }
17
pure fn eq(x: uint, y: uint) -> bool { ret x == y; }
0 commit comments