xmpp-rs/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eijebong 0d0c4b76eb Fix the PartialEq implementation for Element
The order of attributes in an `Element` doesn't matter anymore.
`<elem a="b" c="d" />` and `<elem c="d" a="b" />` are now correctly
considered equal.

For that I had to derive `PartialOrd` and `Ord` for `Attribute`.
This allows us to sort cloned vectors of `Attribute` in the `PartialEq`
implementation and compare them instead of the struct `attributes`.

Fixes #3
2017-04-24 21:15:53 +02:00
..
attribute.rs Fix the PartialEq implementation for Element 2017-04-24 21:15:53 +02:00
convert.rs overhauling the library, made tests pass 2017-03-08 20:34:17 +01:00
element.rs Fix the PartialEq implementation for Element 2017-04-24 21:15:53 +02:00
error.rs overhauling the library, made tests pass 2017-03-08 20:34:17 +01:00
lib.rs overhauling the library, made tests pass 2017-03-08 20:34:17 +01:00
tests.rs Fix the PartialEq implementation for Element 2017-04-24 21:15:53 +02:00