mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Remove use of 'use' from type-params-in-for-each.rs, put out darwin fire.
This commit is contained in:
parent
9ab42038bb
commit
8a6590a75f
@ -1,8 +1,14 @@
|
||||
use std;
|
||||
import std._uint;
|
||||
|
||||
iter range(uint lo, uint hi) -> uint {
|
||||
auto lo_ = lo;
|
||||
while (lo_ < hi) {
|
||||
put lo_;
|
||||
lo_ += 1u;
|
||||
}
|
||||
}
|
||||
|
||||
fn create_index[T](vec[tup(T, uint)] index, fn(&T) -> uint hash_fn) {
|
||||
for each (uint i in _uint.range(0u, 256u)) {
|
||||
for each (uint i in range(0u, 256u)) {
|
||||
let vec[T] bucket = vec();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user