mirror of
https://github.com/servo/servo
synced 2026-05-01 03:47:53 +02:00
Everywhere: Remove instances of clippy::redundant-clone (#43212)
This change fixes all instances where [`clippy::redundant-clone`](https://rust-lang.github.io/rust-clippy/master/index.html?groups=complexity%2Ccorrectness%2Cnursery%2Csuspicious&levels=allow#redundant_clone) would trigger. It's allowed by default I've also changed the lint to warn-by-default for servo. Testing: Covered by WPT --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
@@ -183,8 +183,7 @@ impl CSSStyleOwner {
|
||||
.url_data
|
||||
.0
|
||||
.clone()
|
||||
})
|
||||
.clone(),
|
||||
}),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user