diff options
author | Alexander Lopatin <alopatindev@gmail.com> | 2016-02-07 02:55:21 +0300 |
---|---|---|
committer | Alexander Lopatin <alopatindev@gmail.com> | 2016-02-07 02:55:21 +0300 |
commit | 2be49404be8885d97735792c2833d4e8b1cb007f (patch) | |
tree | cb2f9e5bbf954ed8fffde7abfa01dbed329048e6 /components/script/dom/node.rs | |
parent | 7c249b1d539c37ab54e9fabfaf0442a5ac0243a9 (diff) | |
download | servo-2be49404be8885d97735792c2833d4e8b1cb007f.tar.gz servo-2be49404be8885d97735792c2833d4e8b1cb007f.zip |
Fix #9508: Beautify our union enums constructors
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index a50aad1a78e..aef4192dc6e 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -866,7 +866,7 @@ fn first_node_not_in<I>(mut nodes: I, not_in: &[NodeOrString]) -> Option<Root<No nodes.find(|node| { not_in.iter().all(|n| { match *n { - NodeOrString::eNode(ref n) => n != node, + NodeOrString::Node(ref n) => n != node, _ => true, } }) |