aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/display_list/mod.rs
diff options
context:
space:
mode:
authoratbrakhi <atbrakhi@igalia.com>2024-07-02 16:59:46 +0200
committerGitHub <noreply@github.com>2024-07-02 14:59:46 +0000
commit044ab3eeabcff408c864ba890d0fc469d30fe482 (patch)
tree8fca6a2035ec72c9e35105dc2a385cf16ad2b3e4 /components/layout_2020/display_list/mod.rs
parentc0105de82b3d6259d4359062b98d6fbfabf1c139 (diff)
downloadservo-044ab3eeabcff408c864ba890d0fc469d30fe482.tar.gz
servo-044ab3eeabcff408c864ba890d0fc469d30fe482.zip
fix clippy warning (#32667)
Diffstat (limited to 'components/layout_2020/display_list/mod.rs')
-rw-r--r--components/layout_2020/display_list/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/display_list/mod.rs b/components/layout_2020/display_list/mod.rs
index 0ebc9975c88..f4fba3ca927 100644
--- a/components/layout_2020/display_list/mod.rs
+++ b/components/layout_2020/display_list/mod.rs
@@ -712,7 +712,7 @@ impl<'a> BuilderForBoxFragment<'a> {
// is used).
if let BackgroundMode::Extra(ref extra_backgrounds) = self.fragment.background_mode {
for extra_background in extra_backgrounds {
- let positioning_area = extra_background.rect.clone();
+ let positioning_area = extra_background.rect;
let painter = BackgroundPainter {
style: &extra_background.style,
painting_area_override: None,