diff --git a/src/element.rs b/src/element.rs index 4124479..7675653 100644 --- a/src/element.rs +++ b/src/element.rs @@ -92,6 +92,7 @@ impl PartialEq for ScanNode { fn filter_whitespace_nodes(nodes: Vec) -> Vec { // Tags with mixed significant text and children tags aren't valid in XMPP, so we know we // can remove these before comparing. + // XXX: ^^^^^ This isn't true. let filter_nodes = |(prev_type, mut acc): (Option, Vec), node| { let type_ = match node { Node::Text(_) => NodeType::Text,