diff options
Diffstat (limited to 'components/script/dom/textencoder.rs')
-rw-r--r-- | components/script/dom/textencoder.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/textencoder.rs b/components/script/dom/textencoder.rs index fae24beaf78..65d41c1c88e 100644 --- a/components/script/dom/textencoder.rs +++ b/components/script/dom/textencoder.rs @@ -37,6 +37,7 @@ impl TextEncoder { } // https://encoding.spec.whatwg.org/#dom-textencoder + #[allow(non_snake_case)] pub fn Constructor(global: &GlobalScope) -> Fallible<DomRoot<TextEncoder>> { Ok(TextEncoder::new(global)) } |