mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
clippy: remove unneeded return statements (#31923)
This commit is contained in:
parent
7349ce5b6a
commit
0728378424
10 changed files with 15 additions and 19 deletions
|
@ -2878,7 +2878,7 @@ impl ElementMethods for Element {
|
|||
match self.as_maybe_activatable() {
|
||||
Some(a) => {
|
||||
a.exit_formal_activation_state();
|
||||
return Ok(());
|
||||
Ok(())
|
||||
},
|
||||
None => Err(Error::NotSupported),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue