Switch to new param kind bound syntax
And remove support for the old syntax
This commit is contained in:
parent
1f71a0f48d
commit
60ae1590af
87 changed files with 251 additions and 252 deletions
|
|
@ -492,7 +492,7 @@ fn encode_info_for_items(ecx: @encode_ctxt, ebml_w: ebml::writer,
|
|||
|
||||
// Path and definition ID indexing
|
||||
|
||||
fn create_index<copy T>(index: [entry<T>], hash_fn: fn(T) -> uint) ->
|
||||
fn create_index<T: copy>(index: [entry<T>], hash_fn: fn(T) -> uint) ->
|
||||
[@[entry<T>]] {
|
||||
let buckets: [@mutable [entry<T>]] = [];
|
||||
uint::range(0u, 256u) {|_i| buckets += [@mutable []]; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue