mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Lint layout_2020 with clippy (#31169)
cargo clippy --fix -p layout_2020 --allow-dirty --broken-code
This commit is contained in:
parent
886f6c58d4
commit
50f56affe3
30 changed files with 224 additions and 244 deletions
|
@ -110,7 +110,7 @@ impl<'a> LayoutContext<'a> {
|
|||
.read()
|
||||
.get(&(url.clone(), use_placeholder))
|
||||
{
|
||||
return Some((*existing_webrender_image).clone());
|
||||
return Some(*existing_webrender_image);
|
||||
}
|
||||
|
||||
match self.get_or_request_image_or_meta(node, url.clone(), use_placeholder) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue