style: Remove unused function.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-27 12:46:45 +01:00
parent 17257f94b9
commit d016278159
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -1832,14 +1832,6 @@ impl PropertyDeclaration {
}
}
/// The shorthands that this longhand is part of.
pub fn shorthands(&self) -> &'static [ShorthandId] {
match self.id() {
PropertyDeclarationId::Longhand(id) => id.shorthands(),
PropertyDeclarationId::Custom(..) => &[],
}
}
/// Returns true if this property declaration is for one of the animatable
/// properties.
pub fn is_animatable(&self) -> bool {