Auto merge of #15828 - emilio:cleanup-all-day, r=Wafflespeanut

style: Remove unneeded indirection in LonghandsToSerialize.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15828)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-03-05 23:06:55 -08:00 committed by GitHub
commit d4bdd33cd9

View file

@ -499,13 +499,8 @@
/// correspond to a shorthand.
pub struct LonghandsToSerialize<'a> {
% for sub_property in shorthand.sub_properties:
% if sub_property.boxed:
pub ${sub_property.ident}:
&'a Box<longhands::${sub_property.ident}::SpecifiedValue>,
% else:
pub ${sub_property.ident}:
&'a longhands::${sub_property.ident}::SpecifiedValue,
% endif
pub ${sub_property.ident}:
&'a longhands::${sub_property.ident}::SpecifiedValue,
% endfor
}