mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Convert FnvHash{Set,Map} instances to FxHash{Set,Map}.
Bug: 1477628 Reviewed-by: heycam
This commit is contained in:
parent
0cab212052
commit
fc9df0bcf3
18 changed files with 49 additions and 44 deletions
|
@ -8,7 +8,7 @@
|
|||
//! [position]: https://drafts.csswg.org/css-backgrounds-3/#position
|
||||
|
||||
use cssparser::Parser;
|
||||
use hash::FnvHashMap;
|
||||
use hash::FxHashMap;
|
||||
use parser::{Parse, ParserContext};
|
||||
use selectors::parser::SelectorParseErrorKind;
|
||||
use servo_arc::Arc;
|
||||
|
@ -548,7 +548,7 @@ impl TemplateAreas {
|
|||
let mut width = 0;
|
||||
{
|
||||
let mut row = 0u32;
|
||||
let mut area_indices = FnvHashMap::<&str, usize>::default();
|
||||
let mut area_indices = FxHashMap::<&str, usize>::default();
|
||||
for string in &strings {
|
||||
let mut current_area_index: Option<usize> = None;
|
||||
row += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue