mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
358708723d
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue