servo: Merge #15828 - style: Remove unneeded indirection in LonghandsToSerialize (from emilio:cleanup-all-day); r=Wafflespeanut

Source-Repo: https://github.com/servo/servo
Source-Revision: d4bdd33cd9816e2ceab9ddd9afd145cef8579087

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e76295de4c9c92263236677eabd8f6d819a2b738
This commit is contained in:
Emilio Cobos Álvarez 2017-03-05 23:06:55 -08:00
Родитель 076bd77329
Коммит 1701707c3b
1 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -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
}