Auto merge of #11614 - Ms2ger:deny-unsafe, r=nox

Deny unsafe code in some more modules.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11614)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-06-04 18:29:21 -05:00
commit a4650233f0
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
* 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;

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

View file

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