diff options
Diffstat (limited to 'components/script/dom/formdata.rs')
-rw-r--r-- | components/script/dom/formdata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/formdata.rs b/components/script/dom/formdata.rs index a40e269aaaa..98410ef02ef 100644 --- a/components/script/dom/formdata.rs +++ b/components/script/dom/formdata.rs @@ -82,7 +82,7 @@ impl<'a> FormDataMethods for JSRef<'a, FormData> { self.data.borrow_mut().remove(&name); } - #[allow(unsafe_blocks)] + #[allow(unsafe_code)] fn Get(self, name: DOMString) -> Option<FileOrString> { // FIXME(https://github.com/rust-lang/rust/issues/23338) let data = self.data.borrow(); |