clippy: Fix clone-on-copy warnings (#31877)

This commit is contained in:
Oluwatobi Sofela 2024-03-26 20:55:20 +01:00 committed by GitHub
parent 5f7baf31c2
commit b55d0a2053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 41 additions and 47 deletions

View file

@ -397,7 +397,7 @@ impl Animations {
pipeline_id,
event_type,
node: key.node,
pseudo_element: key.pseudo_element.clone(),
pseudo_element: key.pseudo_element,
property_or_animation_name: transition
.property_animation
.property_id()
@ -450,7 +450,7 @@ impl Animations {
pipeline_id,
event_type,
node: key.node,
pseudo_element: key.pseudo_element.clone(),
pseudo_element: key.pseudo_element,
property_or_animation_name: animation.name.to_string(),
elapsed_time,
});