aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmloptionelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmloptionelement.rs')
-rw-r--r--components/script/dom/htmloptionelement.rs1
1 files changed, 1 insertions, 0 deletions
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,