aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/net_traits/hosts.rs2
-rw-r--r--components/style/selector_matching.rs3
-rw-r--r--components/util/lib.rs2
3 files changed, 0 insertions, 7 deletions
diff --git a/components/net_traits/hosts.rs b/components/net_traits/hosts.rs
index dc06d94529b..b03bf16100c 100644
--- a/components/net_traits/hosts.rs
+++ b/components/net_traits/hosts.rs
@@ -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;
diff --git a/components/style/selector_matching.rs b/components/style/selector_matching.rs
index c479c5ef5d5..79f590f5482 100644
--- a/components/style/selector_matching.rs
+++ b/components/style/selector_matching.rs
@@ -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;
diff --git a/components/util/lib.rs b/components/util/lib.rs
index 9407b18a87b..7b7ad32811c 100644
--- a/components/util/lib.rs
+++ b/components/util/lib.rs
@@ -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;