We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd3024 commit aa7cfb1Copy full SHA for aa7cfb1
src/event/mod.rs
@@ -70,7 +70,12 @@ pub mod url {
70
71
impl fmt::Display for ParseError {
72
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
73
- self.fmt(f)
+ if let ParseError::Error(v) = self {
74
+ Ok(())
75
+ }
76
+ else{
77
+ Err(fmt::Error{})
78
79
}
80
81
src/lib.rs
@@ -48,7 +48,6 @@ extern crate std;
48
49
extern crate serde;
50
extern crate serde_json;
51
-extern crate serde_value;
52
extern crate snafu;
53
54
pub mod event;
0 commit comments