style: Export fnv's FnvHashMap, instead of rewriting it.

This commit is contained in:
Emilio Cobos Álvarez 2017-01-02 01:09:52 +01:00
parent 121b718e99
commit 082866aba6
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -36,7 +36,7 @@ use style_traits::viewport::ViewportConstraints;
use stylesheets::{CssRule, Origin, StyleRule, Stylesheet, UserAgentStylesheets}; use stylesheets::{CssRule, Origin, StyleRule, Stylesheet, UserAgentStylesheets};
use viewport::{self, MaybeNew, ViewportRule}; use viewport::{self, MaybeNew, ViewportRule};
pub type FnvHashMap<K, V> = HashMap<K, V, BuildHasherDefault<::fnv::FnvHasher>>; pub use ::fnv::FnvHashMap;
/// This structure holds all the selectors and device characteristics /// This structure holds all the selectors and device characteristics
/// for a given document. The selectors are converted into `Rule`s /// for a given document. The selectors are converted into `Rule`s