Use upstream lazy_static!() macro through Cargo

... instead of having our own copy.

https://github.com/Kimundi/lazy-static.rs
This commit is contained in:
Simon Sapin 2014-09-20 21:03:58 +01:00 committed by Keegan McAllister
parent af96e8e409
commit a40b94d7f9
6 changed files with 7 additions and 66 deletions

View file

@ -1822,7 +1822,7 @@ fn get_writing_mode(inheritedbox_style: &style_structs::InheritedBox) -> Writing
/// The initial values for all style structs as defined by the specification.
lazy_init! {
lazy_static! {
static ref INITIAL_VALUES: ComputedValues = ComputedValues {
% for style_struct in STYLE_STRUCTS:
${style_struct.ident}: Arc::new(style_structs::${style_struct.name} {