mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix redundant_*
warnings (#32056)
* clippy: Fix `redundant_field_names` warnings * clippy: Fix other `redundant_*` warnings * docs: Update docstring comments
This commit is contained in:
parent
e3ad76d994
commit
b3d9924396
8 changed files with 68 additions and 73 deletions
|
@ -3567,11 +3567,12 @@ impl ScriptThread {
|
|||
// We might have to reset the anchor state
|
||||
if !state_already_changed {
|
||||
if let Some(target) = prev_mouse_over_target {
|
||||
if let Some(_) = target
|
||||
if target
|
||||
.upcast::<Node>()
|
||||
.inclusive_ancestors(ShadowIncluding::No)
|
||||
.filter_map(DomRoot::downcast::<HTMLAnchorElement>)
|
||||
.next()
|
||||
.is_some()
|
||||
{
|
||||
let event = EmbedderMsg::Status(None);
|
||||
window.send_to_embedder(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue