Skip to content

Commit ca7ba7f

Browse files
mbrubeckbrson
authored andcommitted
---
yaml --- r: 5978 b: refs/heads/master c: 9e4c2b6 h: refs/heads/master v: v3
1 parent 40355f4 commit ca7ba7f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 8dba51b87c2889df2be4f9795fbec4179d94343d
2+
refs/heads/master: 9e4c2b6bc60335f3eb64d4ea0514bafabd264675

trunk/src/lib/uint.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ pure fn max_value() -> uint {
1414
ret 0u - 1u;
1515
}
1616

17-
fn add(x: uint, y: uint) -> uint { ret x + y; }
17+
pure fn add(x: uint, y: uint) -> uint { ret x + y; }
1818

19-
fn sub(x: uint, y: uint) -> uint { ret x - y; }
19+
pure fn sub(x: uint, y: uint) -> uint { ret x - y; }
2020

21-
fn mul(x: uint, y: uint) -> uint { ret x * y; }
21+
pure fn mul(x: uint, y: uint) -> uint { ret x * y; }
2222

23-
fn div(x: uint, y: uint) -> uint { ret x / y; }
23+
pure fn div(x: uint, y: uint) -> uint { ret x / y; }
2424

25-
fn rem(x: uint, y: uint) -> uint { ret x % y; }
25+
pure fn rem(x: uint, y: uint) -> uint { ret x % y; }
2626

2727
pure fn lt(x: uint, y: uint) -> bool { ret x < y; }
2828

0 commit comments

Comments
 (0)