mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
clippy: Fix several warnings in components/script
and components/webgpu
(#33633)
* clippy: Fix several warnings in components Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * fix: Allow upper_case_acronyms Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * clippy: Fix more warnings Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
6e043cd09e
commit
03b8034f68
7 changed files with 8 additions and 3 deletions
|
@ -398,7 +398,7 @@ impl GPUCanvasContextMethods for GPUCanvasContext {
|
|||
} else {
|
||||
// Step 3&4
|
||||
self.replace_drawing_buffer();
|
||||
let current_texture = configuration.device.CreateTexture(&texture_descriptor)?;
|
||||
let current_texture = configuration.device.CreateTexture(texture_descriptor)?;
|
||||
self.current_texture.set(Some(¤t_texture));
|
||||
current_texture
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue