diff options
Diffstat (limited to 'components/script/dom/textmetrics.rs')
-rw-r--r-- | components/script/dom/textmetrics.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/textmetrics.rs b/components/script/dom/textmetrics.rs index afcf06ea501..338edd023f2 100644 --- a/components/script/dom/textmetrics.rs +++ b/components/script/dom/textmetrics.rs @@ -30,6 +30,7 @@ pub struct TextMetrics { #[allow(non_snake_case)] impl TextMetrics { + #[allow(clippy::too_many_arguments)] fn new_inherited( width: f64, actualBoundingBoxLeft: f64, @@ -61,6 +62,7 @@ impl TextMetrics { } } + #[allow(clippy::too_many_arguments)] pub fn new( global: &GlobalScope, width: f64, |