Make #[derive(JSTraceable)] a procedural macro

This commit is contained in:
Anthony Ramine 2016-11-02 22:43:37 +01:00
parent b0cac458b6
commit 391296278d
9 changed files with 98 additions and 68 deletions

View file

@ -10,7 +10,7 @@ use dom::element::Element;
use dom::window::Window;
// https://html.spec.whatwg.org/multipage/#validity-states
#[derive_JSTraceable]
#[derive(JSTraceable)]
#[derive(HeapSizeOf)]
pub enum ValidityStatus {
ValueMissing,