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 f1538ed commit bb0d99bCopy full SHA for bb0d99b
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 168306f11b323164ebe4050b9dea29b9756ade47
+refs/heads/master: f061560ce44eccf322b7dbf41f36340c6ec1debd
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/libcore/uint-template.rs
@@ -39,7 +39,7 @@ pure fn is_nonnegative(x: T) -> bool { x >= 0 as T }
39
40
#[inline(always)]
41
/// Iterate over the range [`lo`..`hi`)
42
-fn range(lo: T, hi: T, it: fn(T) -> bool) {
+pure fn range(lo: T, hi: T, it: fn(T) -> bool) {
43
let mut i = lo;
44
while i < hi {
45
if !it(i) { break }
0 commit comments