aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/animations.rs
diff options
context:
space:
mode:
authorOluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com>2024-03-26 20:55:20 +0100
committerGitHub <noreply@github.com>2024-03-26 19:55:20 +0000
commitb55d0a20532b915dee395f8c448ac832ed36b7d4 (patch)
tree50a3e794f0a374aac23a39a76c6d5eb9e2852363 /components/script/animations.rs
parent5f7baf31c2097a02d8ddb370d6131d2703413010 (diff)
downloadservo-b55d0a20532b915dee395f8c448ac832ed36b7d4.tar.gz
servo-b55d0a20532b915dee395f8c448ac832ed36b7d4.zip
clippy: Fix clone-on-copy warnings (#31877)
Diffstat (limited to 'components/script/animations.rs')
-rw-r--r--components/script/animations.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/animations.rs b/components/script/animations.rs
index 128df043cf3..df8378a37b9 100644
--- a/components/script/animations.rs
+++ b/components/script/animations.rs
@@ -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,
});