style: fix formatting.

This commit is contained in:
Emilio Cobos Álvarez 2020-06-18 20:27:58 +02:00
parent 97f29c893f
commit bb8c3ee8ba
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
4 changed files with 18 additions and 13 deletions

View file

@ -1241,11 +1241,17 @@ impl<'le> TElement for GeckoElement<'le> {
}
}
fn animation_rule(&self, _: &SharedStyleContext) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
fn animation_rule(
&self,
_: &SharedStyleContext,
) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
get_animation_rule(self, CascadeLevel::Animations)
}
fn transition_rule(&self, _: &SharedStyleContext) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
fn transition_rule(
&self,
_: &SharedStyleContext,
) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
get_animation_rule(self, CascadeLevel::Transitions)
}