diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-18 01:29:26 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-18 14:22:15 +0530 |
commit | f7db4b7f8011239f01c3ba2e5e402c866fbe68fb (patch) | |
tree | a57f171e34f1df63302eeee5e7b7544baf461158 /components/script/dom/dompoint.rs | |
parent | 2a594821ba44ba2c13e9a39c6fd8c5a450bd06f4 (diff) | |
download | servo-f7db4b7f8011239f01c3ba2e5e402c866fbe68fb.tar.gz servo-f7db4b7f8011239f01c3ba2e5e402c866fbe68fb.zip |
Modify `script` to prevent further violations of snake_case
Diffstat (limited to 'components/script/dom/dompoint.rs')
-rw-r--r-- | components/script/dom/dompoint.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/dompoint.rs b/components/script/dom/dompoint.rs index 6a89249342d..4c1fde655cc 100644 --- a/components/script/dom/dompoint.rs +++ b/components/script/dom/dompoint.rs @@ -19,6 +19,7 @@ pub struct DOMPoint { point: DOMPointReadOnly, } +#[allow(non_snake_case)] impl DOMPoint { fn new_inherited(x: f64, y: f64, z: f64, w: f64) -> DOMPoint { DOMPoint { |