Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #292 from omarabid/master
Browse files Browse the repository at this point in the history
Add PartialEq to Toml::de
  • Loading branch information
ehuss authored Mar 11, 2019
2 parents 4fb12b4 + fbc0557 commit dbdcc9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ where
}

/// Errors that can occur when deserializing a type.
#[derive(Debug, Clone)]
#[derive(Debug, PartialEq, Clone)]
pub struct Error {
inner: Box<ErrorInner>,
}

#[derive(Debug, Clone)]
#[derive(Debug, PartialEq, Clone)]
struct ErrorInner {
kind: ErrorKind,
line: Option<usize>,
Expand All @@ -94,7 +94,7 @@ struct ErrorInner {
}

/// Errors that can occur when deserializing a type.
#[derive(Debug, Clone)]
#[derive(Debug, PartialEq, Clone)]
enum ErrorKind {
/// EOF was reached when looking for a value
UnexpectedEof,
Expand Down

0 comments on commit dbdcc9c

Please sign in to comment.