mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
clippy: Fix needless borrow warnings (#31813)
This commit is contained in:
parent
694e86ecff
commit
3e63f8d6ee
42 changed files with 151 additions and 157 deletions
|
@ -146,7 +146,7 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder {
|
|||
GPUComputePassEncoder::new(
|
||||
&self.global(),
|
||||
self.channel.clone(),
|
||||
&self,
|
||||
self,
|
||||
compute_pass,
|
||||
descriptor.parent.label.clone().unwrap_or_default(),
|
||||
)
|
||||
|
@ -245,7 +245,7 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder {
|
|||
&self.global(),
|
||||
self.channel.clone(),
|
||||
render_pass,
|
||||
&self,
|
||||
self,
|
||||
descriptor.parent.label.clone().unwrap_or_default(),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue