зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #2714 - Suppress the compiler warning about raw_pointer_deriving in layout/context.rs (from saneyuki:fix_warn)
Source-Repo: https://github.com/servo/servo Source-Revision: 358708723daab932ba231f82dcfe5c82f7df9fb1
This commit is contained in:
Родитель
c61dceaca7
Коммит
eb14ef3496
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче