From 68971c86bc2674d216498cf77637581d1f09d8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 28 Feb 2018 10:20:23 +0100 Subject: [PATCH] style: Remove unused function. --- .../style/properties/helpers/animated_properties.mako.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/style/properties/helpers/animated_properties.mako.rs b/components/style/properties/helpers/animated_properties.mako.rs index 507087ff86b..e1b998ee55d 100644 --- a/components/style/properties/helpers/animated_properties.mako.rs +++ b/components/style/properties/helpers/animated_properties.mako.rs @@ -112,15 +112,6 @@ impl TransitionProperty { TransitionProperty::Shorthand(ShorthandId::All) } - /// Iterates over each longhand property. - pub fn each ()>(mut cb: F) { - % for prop in data.longhands: - % if prop.transitionable: - cb(LonghandId::${prop.camel_case}); - % endif - % endfor - } - /// Parse a transition-property value. pub fn parse<'i, 't>(input: &mut Parser<'i, 't>) -> Result> { // FIXME(https://github.com/rust-lang/rust/issues/33156): remove this