Stop allowing unsafe code around thread_local.

This commit is contained in:
Ms2ger 2016-12-30 11:11:25 +01:00
parent b49eb6f566
commit 8dce3e5c9a
2 changed files with 0 additions and 6 deletions

View file

@ -4,9 +4,6 @@
//! Data needed by the layout thread. //! Data needed by the layout thread.
// for thread_local
#![allow(unsafe_code)]
use fnv::FnvHasher; use fnv::FnvHasher;
use gfx::display_list::WebRenderImageInfo; use gfx::display_list::WebRenderImageInfo;
use gfx::font_cache_thread::FontCacheThread; use gfx::font_cache_thread::FontCacheThread;

View file

@ -5,9 +5,6 @@
//! Supports writing a trace file created during each layout scope //! Supports writing a trace file created during each layout scope
//! that can be viewed by an external tool to make layout debugging easier. //! that can be viewed by an external tool to make layout debugging easier.
// for thread_local
#![allow(unsafe_code)]
use flow; use flow;
use flow_ref::FlowRef; use flow_ref::FlowRef;
use serde_json::{to_string, to_value, Value}; use serde_json::{to_string, to_value, Value};