Deny unsafe code in some more modules.

This commit is contained in:
Ms2ger 2016-06-04 18:07:16 +02:00
parent a8c1cb3971
commit 1c65ce8f36
3 changed files with 0 additions and 7 deletions

View file

@ -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;

View 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;

View file

@ -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;