fix clippy warning (#32667)

This commit is contained in:
atbrakhi 2024-07-02 16:59:46 +02:00 committed by GitHub
parent c0105de82b
commit 044ab3eeab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 14 deletions

View file

@ -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,