Modify script to prevent further violations of snake_case

This commit is contained in:
Kunal Mohan 2020-01-18 01:29:26 +05:30
parent 2a594821ba
commit f7db4b7f80
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
135 changed files with 205 additions and 54 deletions

View file

@ -11,6 +11,7 @@ use crate::dom::globalscope::GlobalScope;
use dom_struct::dom_struct;
#[dom_struct]
#[allow(non_snake_case)]
pub struct TextMetrics {
reflector_: Reflector,
width: Finite<f64>,
@ -27,6 +28,7 @@ pub struct TextMetrics {
ideographicBaseline: Finite<f64>,
}
#[allow(non_snake_case)]
impl TextMetrics {
fn new_inherited(
width: f64,