mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Deny unsafe code in some more modules.
This commit is contained in:
parent
a8c1cb3971
commit
1c65ce8f36
3 changed files with 0 additions and 7 deletions
|
@ -2,8 +2,6 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::fs::File;
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// For lazy_static
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
use dom::PresentationalHintsSynthetizer;
|
||||
use element_state::*;
|
||||
use error_reporting::StdoutErrorReporter;
|
||||
|
|
|
@ -54,10 +54,8 @@ pub mod linked_list;
|
|||
#[allow(unsafe_code)]
|
||||
pub mod opts;
|
||||
pub mod panicking;
|
||||
#[allow(unsafe_code)]
|
||||
pub mod prefs;
|
||||
pub mod print_tree;
|
||||
#[allow(unsafe_code)]
|
||||
pub mod resource_files;
|
||||
#[allow(unsafe_code)]
|
||||
pub mod str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue