style: Fix tidy issues and Servo build.

This commit is contained in:
Emilio Cobos Álvarez 2018-04-29 03:02:21 +02:00
parent 64cceb328a
commit 292f899631
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
15 changed files with 32 additions and 56 deletions

View file

@ -71,7 +71,7 @@ where
/// Convenience void type to disable some properties and values through types.
#[cfg_attr(feature = "servo", derive(Deserialize, MallocSizeOf, Serialize))]
#[derive(Clone, Copy, Debug, PartialEq, ToAnimatedValue, ToComputedValue, ToCss)]
#[derive(Clone, Copy, Debug, PartialEq, SpecifiedValueInfo, ToAnimatedValue, ToComputedValue, ToCss)]
pub enum Impossible {}
// FIXME(nox): This should be derived but the derive code cannot cope
@ -162,7 +162,7 @@ impl ToCss for CustomIdent {
}
/// <https://drafts.csswg.org/css-animations/#typedef-keyframes-name>
#[derive(Clone, Debug, MallocSizeOf, ToComputedValue, SpecifiedValueInfo)]
#[derive(Clone, Debug, MallocSizeOf, SpecifiedValueInfo, ToComputedValue)]
pub enum KeyframesName {
/// <custom-ident>
Ident(CustomIdent),