aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformcontrolscollection.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-01-18 01:29:26 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-01-18 14:22:15 +0530
commitf7db4b7f8011239f01c3ba2e5e402c866fbe68fb (patch)
treea57f171e34f1df63302eeee5e7b7544baf461158 /components/script/dom/htmlformcontrolscollection.rs
parent2a594821ba44ba2c13e9a39c6fd8c5a450bd06f4 (diff)
downloadservo-f7db4b7f8011239f01c3ba2e5e402c866fbe68fb.tar.gz
servo-f7db4b7f8011239f01c3ba2e5e402c866fbe68fb.zip
Modify `script` to prevent further violations of snake_case
Diffstat (limited to 'components/script/dom/htmlformcontrolscollection.rs')
-rw-r--r--components/script/dom/htmlformcontrolscollection.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlformcontrolscollection.rs b/components/script/dom/htmlformcontrolscollection.rs
index 8bf296a8417..1cf969a2fdd 100644
--- a/components/script/dom/htmlformcontrolscollection.rs
+++ b/components/script/dom/htmlformcontrolscollection.rs
@@ -47,6 +47,7 @@ impl HTMLFormControlsCollection {
// FIXME: This shouldn't need to be implemented here since HTMLCollection (the parent of
// HTMLFormControlsCollection) implements Length
+ #[allow(non_snake_case)]
pub fn Length(&self) -> u32 {
self.collection.Length()
}