mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#![allow(unsafe_code)]
|
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// For lazy_static
|
|
||||||
#![allow(unsafe_code)]
|
|
||||||
|
|
||||||
use dom::PresentationalHintsSynthetizer;
|
use dom::PresentationalHintsSynthetizer;
|
||||||
use element_state::*;
|
use element_state::*;
|
||||||
use error_reporting::StdoutErrorReporter;
|
use error_reporting::StdoutErrorReporter;
|
||||||
|
|
|
@ -54,10 +54,8 @@ pub mod linked_list;
|
||||||
#[allow(unsafe_code)]
|
#[allow(unsafe_code)]
|
||||||
pub mod opts;
|
pub mod opts;
|
||||||
pub mod panicking;
|
pub mod panicking;
|
||||||
#[allow(unsafe_code)]
|
|
||||||
pub mod prefs;
|
pub mod prefs;
|
||||||
pub mod print_tree;
|
pub mod print_tree;
|
||||||
#[allow(unsafe_code)]
|
|
||||||
pub mod resource_files;
|
pub mod resource_files;
|
||||||
#[allow(unsafe_code)]
|
#[allow(unsafe_code)]
|
||||||
pub mod str;
|
pub mod str;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue