mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fix clippy warning (#32667)
This commit is contained in:
parent
c0105de82b
commit
044ab3eeab
5 changed files with 8 additions and 14 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue