mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
clippy: Fix warnings in components/script
& components/script/dom
(#33821)
* clippy: Fix warnings in components/script & components/script/dom Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Remove unused variable - can_gc Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Use _can_gc instead of removing it Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
a55f9a37ec
commit
5c0a0d29d0
2 changed files with 2 additions and 1 deletions
|
@ -1252,6 +1252,7 @@ impl CanvasState {
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-context-2d-getimagedata
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn get_image_data(
|
||||
&self,
|
||||
canvas_size: Size2D<u64>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue