diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-12-30 11:11:25 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-12-30 11:11:25 +0100 |
commit | 8dce3e5c9aa5cfbd737b9863e01993de6a494d60 (patch) | |
tree | f6e8e120a9b41ab57c293e47d1d44fb4da499c40 | |
parent | b49eb6f56664e5e8db326466726ccf3b58397168 (diff) | |
download | servo-8dce3e5c9aa5cfbd737b9863e01993de6a494d60.tar.gz servo-8dce3e5c9aa5cfbd737b9863e01993de6a494d60.zip |
Stop allowing unsafe code around thread_local.
-rw-r--r-- | components/layout/context.rs | 3 | ||||
-rw-r--r-- | components/layout/layout_debug.rs | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs index e2d1fa7831c..1cbee049f02 100644 --- a/components/layout/context.rs +++ b/components/layout/context.rs @@ -4,9 +4,6 @@ //! Data needed by the layout thread. -// for thread_local -#![allow(unsafe_code)] - use fnv::FnvHasher; use gfx::display_list::WebRenderImageInfo; use gfx::font_cache_thread::FontCacheThread; 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}; |