diff options
author | Clément DAVID <c.david86@gmail.com> | 2017-08-23 14:10:08 +0200 |
---|---|---|
committer | Clément DAVID <c.david86@gmail.com> | 2017-08-23 21:38:44 +0200 |
commit | c5fe2351124c673d1dc4d59355a03654b4fcc541 (patch) | |
tree | baa752c3c7847e85c0e50389400b45f7bf2fc390 /components/script/dom/element.rs | |
parent | ab73f3d61d895289898821272f6af2665c9c645c (diff) | |
download | servo-c5fe2351124c673d1dc4d59355a03654b4fcc541.tar.gz servo-c5fe2351124c673d1dc4d59355a03654b4fcc541.zip |
order derivable traits lists
Ignoring :
- **generated**.rs
- python/tidy/servo_tidy_tests/rust_tidy.rs
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r-- | components/script/dom/element.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index eab06c5c19d..11df4f6bd42 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -170,7 +170,7 @@ impl fmt::Debug for Root<Element> { } } -#[derive(PartialEq, HeapSizeOf)] +#[derive(HeapSizeOf, PartialEq)] pub enum ElementCreator { ParserCreated(u64), ScriptCreated, @@ -182,7 +182,7 @@ pub enum CustomElementCreationMode { } /// https://dom.spec.whatwg.org/#concept-element-custom-element-state -#[derive(Clone, Copy, PartialEq, Eq, HeapSizeOf, JSTraceable)] +#[derive(Clone, Copy, Eq, HeapSizeOf, JSTraceable, PartialEq)] pub enum CustomElementState { Undefined, Failed, @@ -2981,7 +2981,7 @@ impl<'a> AttributeMutation<'a> { /// A holder for an element's "tag name", which will be lazily /// resolved and cached. Should be reset when the document /// owner changes. -#[derive(JSTraceable, HeapSizeOf)] +#[derive(HeapSizeOf, JSTraceable)] struct TagName { ptr: DOMRefCell<Option<LocalName>>, } |