mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
clippy: Fix unneeded return statement warnings (#31776)
This commit is contained in:
parent
d63615354c
commit
15bf32a4e6
19 changed files with 31 additions and 38 deletions
|
@ -357,8 +357,8 @@ impl<'dom, LayoutDataType: LayoutDataTrait> style::dom::TElement
|
|||
|
||||
fn has_animations(&self, context: &SharedStyleContext) -> bool {
|
||||
// This is not used for pseudo elements currently so we can pass None.
|
||||
return self.has_css_animations(context, /* pseudo_element = */ None) ||
|
||||
self.has_css_transitions(context, /* pseudo_element = */ None);
|
||||
self.has_css_animations(context, /* pseudo_element = */ None) ||
|
||||
self.has_css_transitions(context, /* pseudo_element = */ None)
|
||||
}
|
||||
|
||||
fn has_css_animations(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue