File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ mod chained {
262
262
ret vec:: to_mut ( vec:: from_elem ( nchains, absent) ) ;
263
263
}
264
264
265
- fn mk < K : copy , V : copy > ( hasher : hashfn < K > , eqer : eqfn < K > ) -> t < K , V > {
265
+ fn mk < K , V : copy > ( hasher : hashfn < K > , eqer : eqfn < K > ) -> t < K , V > {
266
266
let initial_capacity: uint = 32 u; // 2^5
267
267
let slf: t < K , V > = @{ mut count: 0 u,
268
268
mut chains: chains ( initial_capacity) ,
@@ -282,7 +282,7 @@ Parameters:
282
282
hasher - The hash function for key type K
283
283
eqer - The equality function for key type K
284
284
*/
285
- fn hashmap < K : const copy , V : copy > ( hasher : hashfn < K > , eqer : eqfn < K > )
285
+ fn hashmap < K : const , V : copy > ( hasher : hashfn < K > , eqer : eqfn < K > )
286
286
-> hashmap < K , V > {
287
287
chained:: mk ( hasher, eqer)
288
288
}
You can’t perform that action at this time.
0 commit comments