Replace unsafe_blocks by unsafe_code.

This commit is contained in:
Manish Goregaokar 2015-03-19 07:40:22 +05:30 committed by Ms2ger
parent 4eb26065ac
commit 3479d3fa7f
53 changed files with 151 additions and 57 deletions

View file

@ -4,7 +4,7 @@
//! The `Fragment` type, which represents the leaves of the layout tree.
#![deny(unsafe_blocks)]
#![deny(unsafe_code)]
use canvas::canvas_paint_task::CanvasMsg;
use css::node_style::StyledNode;
@ -118,7 +118,9 @@ pub struct Fragment {
pub debug_id: u16,
}
#[allow(unsafe_code)]
unsafe impl Send for Fragment {}
#[allow(unsafe_code)]
unsafe impl Sync for Fragment {}
impl Encodable for Fragment {