Port the compiler to foo<T> decl syntax.
This commit is contained in:
committed by
Graydon Hoare
parent
4c9049c50c
commit
4abc471390
@@ -41,7 +41,7 @@ fn hash_def(d: &ast::def_id) -> uint {
|
||||
ret h;
|
||||
}
|
||||
|
||||
fn new_def_hash[@V]() -> std::map::hashmap<ast::def_id, V> {
|
||||
fn new_def_hash<@V>() -> std::map::hashmap<ast::def_id, V> {
|
||||
let hasher: std::map::hashfn<ast::def_id> = hash_def;
|
||||
let eqer: std::map::eqfn<ast::def_id> = def_eq;
|
||||
ret std::map::mk_hashmap[ast::def_id, V](hasher, eqer);
|
||||
|
||||
Reference in New Issue
Block a user