use BuildHasher::default() not BuildHasher::new() (#381)
This commit is contained in:
parent
87a937056d
commit
b347487712
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ impl Fallbacks {
|
|||
let forbidden_fallback_range = new_range(&lists);
|
||||
|
||||
let mut script_fallback_ranges =
|
||||
HashMap::with_capacity_and_hasher(scripts.len(), BuildHasher::new());
|
||||
HashMap::with_capacity_and_hasher(scripts.len(), BuildHasher::default());
|
||||
for &script in scripts {
|
||||
let script_fallback = fallbacks.script_fallback(script, locale);
|
||||
lists.extend_from_slice(script_fallback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue