Skip to content

Commit 347b60f

Browse files
committed
---
yaml --- r: 14234 b: refs/heads/try c: 3bdb627 h: refs/heads/master v: v3
1 parent fa13aaa commit 347b60f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 910c6a5df8623e3fb18404dfa292dcbc8d930672
5+
refs/heads/try: 3bdb627b5dc9924fbc539a1afc60bf8d280e5388
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libcore/uint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const max_value: uint = 0u - 1u;
2525
/*
2626
Function: max
2727
*/
28-
fn max(x: uint, y: uint) -> uint {
28+
pure fn max(x: uint, y: uint) -> uint {
2929
if x > y { x } else { y }
3030
}
3131

3232
/*
3333
Function: min
3434
*/
35-
fn min(x: uint, y: uint) -> uint {
35+
pure fn min(x: uint, y: uint) -> uint {
3636
if x < y { x } else { y }
3737
}
3838

0 commit comments

Comments
 (0)