aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_debug.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-12-30 11:11:25 +0100
committerMs2ger <Ms2ger@gmail.com>2016-12-30 11:11:25 +0100
commit8dce3e5c9aa5cfbd737b9863e01993de6a494d60 (patch)
treef6e8e120a9b41ab57c293e47d1d44fb4da499c40 /components/layout/layout_debug.rs
parentb49eb6f56664e5e8db326466726ccf3b58397168 (diff)
downloadservo-8dce3e5c9aa5cfbd737b9863e01993de6a494d60.tar.gz
servo-8dce3e5c9aa5cfbd737b9863e01993de6a494d60.zip
Stop allowing unsafe code around thread_local.
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r--components/layout/layout_debug.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs
index 3a8a1171287..9b67077add0 100644
--- a/components/layout/layout_debug.rs
+++ b/components/layout/layout_debug.rs
@@ -5,9 +5,6 @@
//! Supports writing a trace file created during each layout scope
//! that can be viewed by an external tool to make layout debugging easier.
-// for thread_local
-#![allow(unsafe_code)]
-
use flow;
use flow_ref::FlowRef;
use serde_json::{to_string, to_value, Value};