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 643cf39 commit 949e219Copy full SHA for 949e219
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: ea69f48eacec7052c31e6443dbe6ac9ecf6de3a9
+refs/heads/master: fa78fee4de8eab389f20279dbafaae461b18e3e7
trunk/src/lib/uint.rs
@@ -24,6 +24,8 @@ pred gt(uint x, uint y) -> bool { ret x > y; }
24
25
fn max(uint x, uint y) -> uint { if (x > y) { ret x; } ret y; }
26
27
+fn min(uint x, uint y) -> uint { if (x > y) { ret y; } ret x; }
28
+
29
iter range(uint lo, uint hi) -> uint {
30
auto lo_ = lo;
31
while (lo_ < hi) { put lo_; lo_ += 1u; }
0 commit comments