File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 910c6a5df8623e3fb18404dfa292dcbc8d930672
5
+ refs/heads/try: 3bdb627b5dc9924fbc539a1afc60bf8d280e5388
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ const max_value: uint = 0u - 1u;
25
25
/*
26
26
Function: max
27
27
*/
28
- fn max ( x : uint , y : uint ) -> uint {
28
+ pure fn max ( x : uint , y : uint ) -> uint {
29
29
if x > y { x } else { y }
30
30
}
31
31
32
32
/*
33
33
Function: min
34
34
*/
35
- fn min ( x : uint , y : uint ) -> uint {
35
+ pure fn min ( x : uint , y : uint ) -> uint {
36
36
if x < y { x } else { y }
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments