mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Remove unused function.
This commit is contained in:
parent
3fd5f796f0
commit
68971c86bc
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue