style: Remove unused function.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-28 10:20:23 +01:00
parent 3fd5f796f0
commit 68971c86bc
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -112,15 +112,6 @@ impl TransitionProperty {
TransitionProperty::Shorthand(ShorthandId::All) TransitionProperty::Shorthand(ShorthandId::All)
} }
/// Iterates over each longhand property.
pub fn each<F: FnMut(LonghandId) -> ()>(mut cb: F) {
% for prop in data.longhands:
% if prop.transitionable:
cb(LonghandId::${prop.camel_case});
% endif
% endfor
}
/// Parse a transition-property value. /// Parse a transition-property value.
pub fn parse<'i, 't>(input: &mut Parser<'i, 't>) -> Result<Self, ParseError<'i>> { pub fn parse<'i, 't>(input: &mut Parser<'i, 't>) -> Result<Self, ParseError<'i>> {
// FIXME(https://github.com/rust-lang/rust/issues/33156): remove this // FIXME(https://github.com/rust-lang/rust/issues/33156): remove this