RazrFalcon / roxmltree

Represent an XML document as a read-only tree.
Apache License 2.0
434 stars 37 forks source link

Fixes a typo in impl PartialEq for Attribute and an inconsistency in impl PartialEq for Node #79

Closed adamreichold closed 2 years ago

adamreichold commented 2 years ago

The inconsistency was PartialEq considering self.d in the comparison while Ord did not. I don't think it would be possible for the same node ID in the same document to yield different node data so I don't think this had any effect, but it still seems unnecessary.