提交 8a6590a7 编写于 作者: G Graydon Hoare

Remove use of 'use' from type-params-in-for-each.rs, put out darwin fire.

上级 9ab42038
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();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册