mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make AnimationValue::id be just a pointer cast 🐉🐲
Now that PropertyDeclaration and AnimationValue have the same discriminants, that means the trick found in PropertyDeclaration::id can be done in AnimationValue::id.
This commit is contained in:
parent
79775541f2
commit
921d1aeeba
2 changed files with 5 additions and 3 deletions
|
@ -58,9 +58,9 @@ extern crate smallvec;
|
|||
extern crate string_cache;
|
||||
#[cfg(feature = "url")]
|
||||
extern crate url;
|
||||
extern crate void;
|
||||
#[cfg(feature = "webrender_api")]
|
||||
extern crate webrender_api;
|
||||
extern crate void;
|
||||
#[cfg(feature = "servo")]
|
||||
extern crate xml5ever;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue