From 2be49404be8885d97735792c2833d4e8b1cb007f Mon Sep 17 00:00:00 2001 From: Alexander Lopatin Date: Sun, 7 Feb 2016 02:55:21 +0300 Subject: Fix #9508: Beautify our union enums constructors --- components/script/dom/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/node.rs') 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(mut nodes: I, not_in: &[NodeOrString]) -> Option n != node, + NodeOrString::Node(ref n) => n != node, _ => true, } }) -- cgit v1.2.3