mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fixed the .clone() warnings. (#31819)
This commit is contained in:
parent
95e69fe4ff
commit
9b26dca141
28 changed files with 76 additions and 93 deletions
|
@ -41,10 +41,10 @@ pub struct WebGPUContextId(pub u64);
|
|||
impl Clone for GPUCanvasConfiguration {
|
||||
fn clone(&self) -> Self {
|
||||
Self {
|
||||
alphaMode: self.alphaMode.clone(),
|
||||
alphaMode: self.alphaMode,
|
||||
device: self.device.clone(),
|
||||
format: self.format.clone(),
|
||||
usage: self.usage.clone(),
|
||||
format: self.format,
|
||||
usage: self.usage,
|
||||
viewFormats: self.viewFormats.clone(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue