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:
Simon Wülker
2026-03-12 14:28:21 +01:00
committed by GitHub
parent 3c86026ef1
commit c0ff7c1fc9
92 changed files with 169 additions and 224 deletions

View File

@@ -106,7 +106,7 @@ impl GPUCommandEncoder {
GPUCommandEncoder::new(
&device.global(),
device.channel().clone(),
device.channel(),
device,
encoder,
descriptor.parent.label.clone(),