mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Replace unsafe_blocks by unsafe_code.
This commit is contained in:
parent
4eb26065ac
commit
3479d3fa7f
53 changed files with 151 additions and 57 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue