Make geckolib possible to build on stable Rust

This commit is contained in:
Simon Sapin 2016-07-05 14:53:37 +02:00
parent bb916bb38b
commit 2d52b13f2f
6 changed files with 28 additions and 14 deletions

View file

@ -67,7 +67,8 @@ pub enum CSSRule<Impl: SelectorImpl> {
}
#[derive(Debug, HeapSizeOf, PartialEq)]
#[derive(Debug, PartialEq)]
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
pub struct KeyframesRule {
pub name: Atom,
pub keyframes: Vec<Keyframe>,