Add "mutable?" to _vec in the standard library; fix callers
This commit is contained in:
parent
368eb4bab6
commit
0cf16e77ca
4 changed files with 20 additions and 19 deletions
|
|
@ -29,7 +29,7 @@ fn mk_hashmap[K, V](&hashfn[K] hasher, &eqfn[K] eqer) -> hashmap[K, V] {
|
|||
}
|
||||
|
||||
fn make_buckets[K, V](uint nbkts) -> vec[mutable bucket[K, V]] {
|
||||
ret _vec.init_elt[mutable bucket[K, V]](nil[K, V], nbkts);
|
||||
ret _vec.init_elt_mut[bucket[K, V]](nil[K, V], nbkts);
|
||||
}
|
||||
|
||||
// Derive two hash functions from the one given by taking the upper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue