Skip to content

Commit

Permalink
minor clippy Eq
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Jun 8, 2022
1 parent e7e1170 commit 1eb47f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ fn try_usize_to_i32(value: usize) -> Result<i32, XmlParseError> {
}
}

#[derive(PartialEq)]
#[derive(PartialEq, Eq)]
/// Enum for the parse formats supported by libxml2
pub enum ParseFormat {
/// Strict parsing for XML
Expand Down
2 changes: 1 addition & 1 deletion src/tree/nodetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!

/// Types of xml nodes
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
#[allow(missing_docs)]
pub enum NodeType {
ElementNode,
Expand Down

0 comments on commit 1eb47f0

Please sign in to comment.