From f7db4b7f8011239f01c3ba2e5e402c866fbe68fb Mon Sep 17 00:00:00 2001 From: Kunal Mohan Date: Sat, 18 Jan 2020 01:29:26 +0530 Subject: Modify `script` to prevent further violations of snake_case --- components/script/dom/htmloptionelement.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'components/script/dom/htmloptionelement.rs') diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs index d61f4b6ffb0..ca95400dc80 100644 --- a/components/script/dom/htmloptionelement.rs +++ b/components/script/dom/htmloptionelement.rs @@ -77,6 +77,7 @@ impl HTMLOptionElement { } // https://html.spec.whatwg.org/multipage/#dom-option + #[allow(non_snake_case)] pub fn Option( window: &Window, text: DOMString, -- cgit v1.2.3