File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 8dba51b87c2889df2be4f9795fbec4179d94343d
2
+ refs/heads/master: 9e4c2b6bc60335f3eb64d4ea0514bafabd264675
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ pure fn max_value() -> uint {
14
14
ret 0 u - 1 u;
15
15
}
16
16
17
- fn add ( x : uint , y : uint ) -> uint { ret x + y; }
17
+ pure fn add ( x : uint , y : uint ) -> uint { ret x + y; }
18
18
19
- fn sub ( x : uint , y : uint ) -> uint { ret x - y; }
19
+ pure fn sub ( x : uint , y : uint ) -> uint { ret x - y; }
20
20
21
- fn mul ( x : uint , y : uint ) -> uint { ret x * y; }
21
+ pure fn mul ( x : uint , y : uint ) -> uint { ret x * y; }
22
22
23
- fn div ( x : uint , y : uint ) -> uint { ret x / y; }
23
+ pure fn div ( x : uint , y : uint ) -> uint { ret x / y; }
24
24
25
- fn rem ( x : uint , y : uint ) -> uint { ret x % y; }
25
+ pure fn rem ( x : uint , y : uint ) -> uint { ret x % y; }
26
26
27
27
pure fn lt ( x : uint , y : uint ) -> bool { ret x < y; }
28
28
You can’t perform that action at this time.
0 commit comments