Merge pull request #2714 from saneyuki/fix_warn

Suppress the compiler warning about raw_pointer_deriving in layout/context.rs
This commit is contained in:
Lars Bergstrom 2014-06-25 14:28:24 -05:00
commit 358708723d

View file

@ -52,6 +52,7 @@ static mut STYLE_SHARING_CANDIDATE_CACHE: *mut StyleSharingCandidateCache =
local_data_key!(style_sharing_candidate_cache: *mut StyleSharingCandidateCache)
/// Data shared by all layout workers.
#[allow(raw_pointer_deriving)]
#[deriving(Clone)]
pub struct LayoutContext {
/// The local image cache.